﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PCV_CLINICDataSet" targetNamespace="http://tempuri.org/PCV_CLINICDataSet.xsd" xmlns:mstns="http://tempuri.org/PCV_CLINICDataSet.xsd" xmlns="http://tempuri.org/PCV_CLINICDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="" GeneratorFunctionsComponentClassName="TableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="PCV_CLINICConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="PCV_CLINICConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.PCV_Clinic_Pro.My.MySettings.GlobalReference.Default.PCV_CLINICConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBanHangTableAdapter" GeneratorDataComponentClassName="BHBanHangTableAdapter" Name="BHBanHang" UserDataComponentName="BHBanHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBanHang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHBanHang] WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_sotokhaiHQ = 1 AND [sotokhaiHQ] IS NULL) OR ([sotokhaiHQ] = @Original_sotokhaiHQ)) AND ((@IsNull_ngaytokhaiHQ = 1 AND [ngaytokhaiHQ] IS NULL) OR ([ngaytokhaiHQ] = @Original_ngaytokhaiHQ)) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_hinhthucthanhtoan = 1 AND [hinhthucthanhtoan] IS NULL) OR ([hinhthucthanhtoan] = @Original_hinhthucthanhtoan)) AND ((@IsNull_ngaythanhtoan = 1 AND [ngaythanhtoan] IS NULL) OR ([ngaythanhtoan] = @Original_ngaythanhtoan)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_tygiatokhaiHQ = 1 AND [tygiatokhaiHQ] IS NULL) OR ([tygiatokhaiHQ] = @Original_tygiatokhaiHQ)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygianganhang = 1 AND [tygianganhang] IS NULL) OR ([tygianganhang] = @Original_tygianganhang)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_soxe = 1 AND [soxe] IS NULL) OR ([soxe] = @Original_soxe)) AND ((@IsNull_socont = 1 AND [socont] IS NULL) OR ([socont] = @Original_socont)) AND ((@IsNull_sodongoi = 1 AND [sodongoi] IS NULL) OR ([sodongoi] = @Original_sodongoi)) AND ((@IsNull_nhanviensale = 1 AND [nhanviensale] IS NULL) OR ([nhanviensale] = @Original_nhanviensale)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_machuongtrinhkhuyenmai = 1 AND [machuongtrinhkhuyenmai] IS NULL) OR ([machuongtrinhkhuyenmai] = @Original_machuongtrinhkhuyenmai)) AND ((@IsNull_banggia = 1 AND [banggia] IS NULL) OR ([banggia] = @Original_banggia)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytokhaiHQ" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygiatokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tygiatokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygianganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygianganhang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soxe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soxe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_socont" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_socont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sodongoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sodongoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhanviensale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nhanviensale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machuongtrinhkhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machuongtrinhkhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_banggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHBanHang] ([ma], [module], [manghiepvu], [sochungtu], [ngaychungtu], [sohoadon], [ngayhoadon], [sotokhaiHQ], [ngaytokhaiHQ], [makhachhang], [tenkhachhang], [diachi], [soSO], [hinhthucthanhtoan], [ngaythanhtoan], [dieukiengiaohang], [tygiatokhaiHQ], [diengiai], [loaitien], [tygianganhang], [nguyente], [thanhtienvnd], [phuongtienvanchuyen], [soxe], [socont], [sodongoi], [nhanviensale], [phongban], [machuongtrinhkhuyenmai], [banggia], [sohopdong], [kyketoan], [tinhtrang], [loai], [chinhanh]) VALUES (@ma, @module, @manghiepvu, @sochungtu, @ngaychungtu, @sohoadon, @ngayhoadon, @sotokhaiHQ, @ngaytokhaiHQ, @makhachhang, @tenkhachhang, @diachi, @soSO, @hinhthucthanhtoan, @ngaythanhtoan, @dieukiengiaohang, @tygiatokhaiHQ, @diengiai, @loaitien, @tygianganhang, @nguyente, @thanhtienvnd, @phuongtienvanchuyen, @soxe, @socont, @sodongoi, @nhanviensale, @phongban, @machuongtrinhkhuyenmai, @banggia, @sohopdong, @kyketoan, @tinhtrang, @loai, @chinhanh);
SELECT ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, sotokhaiHQ, ngaytokhaiHQ, makhachhang, tenkhachhang, diachi, soSO, hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiatokhaiHQ, diengiai, loaitien, tygianganhang, nguyente, thanhtienvnd, phuongtienvanchuyen, soxe, socont, sodongoi, nhanviensale, phongban, machuongtrinhkhuyenmai, banggia, sohopdong, kyketoan, tinhtrang, loai, chinhanh, id FROM BHBanHang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytokhaiHQ" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tygiatokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygianganhang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soxe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@socont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sodongoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nhanviensale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machuongtrinhkhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, sotokhaiHQ, ngaytokhaiHQ, makhachhang, tenkhachhang, diachi, soSO, 
                         hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiatokhaiHQ, diengiai, loaitien, tygianganhang, nguyente, thanhtienvnd, phuongtienvanchuyen, soxe, socont, 
                         sodongoi, nhanviensale, phongban, machuongtrinhkhuyenmai, banggia, sohopdong, kyketoan, tinhtrang, loai, chinhanh, id
FROM            BHBanHang
WHERE        (ngaychungtu BETWEEN @tungay AND @denngay) and (loai = @loai)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.BHBanHang" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.BHBanHang" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="loai" ColumnName="loai" DataSourceName="PCV_Clinic.dbo.BHBanHang" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHBanHang] SET [ma] = @ma, [module] = @module, [manghiepvu] = @manghiepvu, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [ngayhoadon] = @ngayhoadon, [sotokhaiHQ] = @sotokhaiHQ, [ngaytokhaiHQ] = @ngaytokhaiHQ, [makhachhang] = @makhachhang, [tenkhachhang] = @tenkhachhang, [diachi] = @diachi, [soSO] = @soSO, [hinhthucthanhtoan] = @hinhthucthanhtoan, [ngaythanhtoan] = @ngaythanhtoan, [dieukiengiaohang] = @dieukiengiaohang, [tygiatokhaiHQ] = @tygiatokhaiHQ, [diengiai] = @diengiai, [loaitien] = @loaitien, [tygianganhang] = @tygianganhang, [nguyente] = @nguyente, [thanhtienvnd] = @thanhtienvnd, [phuongtienvanchuyen] = @phuongtienvanchuyen, [soxe] = @soxe, [socont] = @socont, [sodongoi] = @sodongoi, [nhanviensale] = @nhanviensale, [phongban] = @phongban, [machuongtrinhkhuyenmai] = @machuongtrinhkhuyenmai, [banggia] = @banggia, [sohopdong] = @sohopdong, [kyketoan] = @kyketoan, [tinhtrang] = @tinhtrang, [loai] = @loai, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_sotokhaiHQ = 1 AND [sotokhaiHQ] IS NULL) OR ([sotokhaiHQ] = @Original_sotokhaiHQ)) AND ((@IsNull_ngaytokhaiHQ = 1 AND [ngaytokhaiHQ] IS NULL) OR ([ngaytokhaiHQ] = @Original_ngaytokhaiHQ)) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_hinhthucthanhtoan = 1 AND [hinhthucthanhtoan] IS NULL) OR ([hinhthucthanhtoan] = @Original_hinhthucthanhtoan)) AND ((@IsNull_ngaythanhtoan = 1 AND [ngaythanhtoan] IS NULL) OR ([ngaythanhtoan] = @Original_ngaythanhtoan)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_tygiatokhaiHQ = 1 AND [tygiatokhaiHQ] IS NULL) OR ([tygiatokhaiHQ] = @Original_tygiatokhaiHQ)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygianganhang = 1 AND [tygianganhang] IS NULL) OR ([tygianganhang] = @Original_tygianganhang)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_soxe = 1 AND [soxe] IS NULL) OR ([soxe] = @Original_soxe)) AND ((@IsNull_socont = 1 AND [socont] IS NULL) OR ([socont] = @Original_socont)) AND ((@IsNull_sodongoi = 1 AND [sodongoi] IS NULL) OR ([sodongoi] = @Original_sodongoi)) AND ((@IsNull_nhanviensale = 1 AND [nhanviensale] IS NULL) OR ([nhanviensale] = @Original_nhanviensale)) AND ((@IsNull_phongban = 1 AND [phongban] IS NULL) OR ([phongban] = @Original_phongban)) AND ((@IsNull_machuongtrinhkhuyenmai = 1 AND [machuongtrinhkhuyenmai] IS NULL) OR ([machuongtrinhkhuyenmai] = @Original_machuongtrinhkhuyenmai)) AND ((@IsNull_banggia = 1 AND [banggia] IS NULL) OR ([banggia] = @Original_banggia)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, sotokhaiHQ, ngaytokhaiHQ, makhachhang, tenkhachhang, diachi, soSO, hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiatokhaiHQ, diengiai, loaitien, tygianganhang, nguyente, thanhtienvnd, phuongtienvanchuyen, soxe, socont, sodongoi, nhanviensale, phongban, machuongtrinhkhuyenmai, banggia, sohopdong, kyketoan, tinhtrang, loai, chinhanh, id FROM BHBanHang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytokhaiHQ" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tygiatokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygianganhang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soxe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@socont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sodongoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nhanviensale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@machuongtrinhkhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytokhaiHQ" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygiatokhaiHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tygiatokhaiHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiatokhaiHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygianganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygianganhang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygianganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soxe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soxe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soxe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_socont" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_socont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="socont" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sodongoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sodongoi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sodongoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhanviensale" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nhanviensale" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nhanviensale" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phongban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phongban" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phongban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_machuongtrinhkhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_machuongtrinhkhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="machuongtrinhkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_banggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_banggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="banggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.BHBanHang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="module" DataSetColumn="module" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="sotokhaiHQ" DataSetColumn="sotokhaiHQ" />
              <Mapping SourceColumn="ngaytokhaiHQ" DataSetColumn="ngaytokhaiHQ" />
              <Mapping SourceColumn="makhachhang" DataSetColumn="makhachhang" />
              <Mapping SourceColumn="tenkhachhang" DataSetColumn="tenkhachhang" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="soSO" DataSetColumn="soSO" />
              <Mapping SourceColumn="hinhthucthanhtoan" DataSetColumn="hinhthucthanhtoan" />
              <Mapping SourceColumn="ngaythanhtoan" DataSetColumn="ngaythanhtoan" />
              <Mapping SourceColumn="dieukiengiaohang" DataSetColumn="dieukiengiaohang" />
              <Mapping SourceColumn="tygiatokhaiHQ" DataSetColumn="tygiatokhaiHQ" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygianganhang" DataSetColumn="tygianganhang" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="thanhtienvnd" DataSetColumn="thanhtienvnd" />
              <Mapping SourceColumn="phuongtienvanchuyen" DataSetColumn="phuongtienvanchuyen" />
              <Mapping SourceColumn="soxe" DataSetColumn="soxe" />
              <Mapping SourceColumn="socont" DataSetColumn="socont" />
              <Mapping SourceColumn="sodongoi" DataSetColumn="sodongoi" />
              <Mapping SourceColumn="nhanviensale" DataSetColumn="nhanviensale" />
              <Mapping SourceColumn="phongban" DataSetColumn="phongban" />
              <Mapping SourceColumn="machuongtrinhkhuyenmai" DataSetColumn="machuongtrinhkhuyenmai" />
              <Mapping SourceColumn="banggia" DataSetColumn="banggia" />
              <Mapping SourceColumn="sohopdong" DataSetColumn="sohopdong" />
              <Mapping SourceColumn="kyketoan" DataSetColumn="kyketoan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="loai" DataSetColumn="loai" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_BHBanHang" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_BHBanHang" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_BHBanHang" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_BHBanHang">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_BHBanHang</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillNgayChungTu_BHBanHang_XuatHoaDon" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillNgayChungTu_BHBanHang_XuatHoaDon" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillNgayChungTu_BHBanHang_XuatHoaDon" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillNgayChungTu_BHBanHang_XuatHoaDon">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillNgayChungTu_BHBanHang_XuatHoaDon</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBanHangChiTietTableAdapter" GeneratorDataComponentClassName="BHBanHangChiTietTableAdapter" Name="BHBanHangChiTiet" UserDataComponentName="BHBanHangChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBanHangChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHBanHangChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_solo = 1 AND [solo] IS NULL) OR ([solo] = @Original_solo)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_tieuchuan = 1 AND [tieuchuan] IS NULL) OR ([tieuchuan] = @Original_tieuchuan)) AND ((@IsNull_chitieu = 1 AND [chitieu] IS NULL) OR ([chitieu] = @Original_chitieu)) AND ((@IsNull_hsd = 1 AND [hsd] IS NULL) OR ([hsd] = @Original_hsd)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_soluongSO = 1 AND [soluongSO] IS NULL) OR ([soluongSO] = @Original_soluongSO)) AND ((@IsNull_soluonggiao = 1 AND [soluonggiao] IS NULL) OR ([soluonggiao] = @Original_soluonggiao)) AND ((@IsNull_dongianguyente = 1 AND [dongianguyente] IS NULL) OR ([dongianguyente] = @Original_dongianguyente)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tilethueGTGT = 1 AND [tilethueGTGT] IS NULL) OR ([tilethueGTGT] = @Original_tilethueGTGT)) AND ((@IsNull_tienthueGTGT = 1 AND [tienthueGTGT] IS NULL) OR ([tienthueGTGT] = @Original_tienthueGTGT)) AND ((@IsNull_taikhoanthueGTGT = 1 AND [taikhoanthueGTGT] IS NULL) OR ([taikhoanthueGTGT] = @Original_taikhoanthueGTGT)) AND ((@IsNull_chiphiban = 1 AND [chiphiban] IS NULL) OR ([chiphiban] = @Original_chiphiban)) AND ((@IsNull_tilethueNK = 1 AND [tilethueNK] IS NULL) OR ([tilethueNK] = @Original_tilethueNK)) AND ((@IsNull_tienthueNK = 1 AND [tienthueNK] IS NULL) OR ([tienthueNK] = @Original_tienthueNK)) AND ((@IsNull_taikhoanthueNK = 1 AND [taikhoanthueNK] IS NULL) OR ([taikhoanthueNK] = @Original_taikhoanthueNK)) AND ((@IsNull_taikhoanchietkhau = 1 AND [taikhoanchietkhau] IS NULL) OR ([taikhoanchietkhau] = @Original_taikhoanchietkhau)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_nhomHD = 1 AND [nhomHD] IS NULL) OR ([nhomHD] = @Original_nhomHD)) AND ((@IsNull_chenhlech = 1 AND [chenhlech] IS NULL) OR ([chenhlech] = @Original_chenhlech)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_diachidonvi = 1 AND [diachidonvi] IS NULL) OR ([diachidonvi] = @Original_diachidonvi)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_mafifo = 1 AND [mafifo] IS NULL) OR ([mafifo] = @Original_mafifo)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hsd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongSO" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluonggiao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluonggiao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chiphiban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chiphiban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanchietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanchietkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chenhlech" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chenhlech" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachidonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mafifo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mafifo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHBanHangChiTiet] ([ma], [manghiepvu], [sochungtu], [ngaychungtu], [sohoadon], [ngayhoadon], [taikhoanno], [taikhoanco], [mahang], [tenhang], [solo], [chebien], [phamcap], [baoquan], [kichco], [tieuchuan], [chitieu], [hsd], [quicach], [dvt], [soluongSO], [soluonggiao], [dongianguyente], [dongiavnd], [thanhtiennguyente], [thanhtienvnd], [tilethueGTGT], [tienthueGTGT], [taikhoanthueGTGT], [chiphiban], [tilethueNK], [tienthueNK], [taikhoanthueNK], [taikhoanchietkhau], [chietkhau], [nhomHD], [chenhlech], [tinhtrang], [chinhanh], [uid], [kyketoan], [diachidonvi], [madonvi], [tendonvi], [mafifo], [loai]) VALUES (@ma, @manghiepvu, @sochungtu, @ngaychungtu, @sohoadon, @ngayhoadon, @taikhoanno, @taikhoanco, @mahang, @tenhang, @solo, @chebien, @phamcap, @baoquan, @kichco, @tieuchuan, @chitieu, @hsd, @quicach, @dvt, @soluongSO, @soluonggiao, @dongianguyente, @dongiavnd, @thanhtiennguyente, @thanhtienvnd, @tilethueGTGT, @tienthueGTGT, @taikhoanthueGTGT, @chiphiban, @tilethueNK, @tienthueNK, @taikhoanthueNK, @taikhoanchietkhau, @chietkhau, @nhomHD, @chenhlech, @tinhtrang, @chinhanh, @uid, @kyketoan, @diachidonvi, @madonvi, @tendonvi, @mafifo, @loai);
SELECT ma, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, taikhoanno, taikhoanco, mahang, tenhang, solo, chebien, phamcap, baoquan, kichco, tieuchuan, chitieu, hsd, quicach, dvt, soluongSO, soluonggiao, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, chiphiban, tilethueNK, tienthueNK, taikhoanthueNK, taikhoanchietkhau, chietkhau, nhomHD, chenhlech, tinhtrang, chinhanh, uid, id, kyketoan, diachidonvi, madonvi, tendonvi, mafifo, loai FROM BHBanHangChiTiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongSO" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluonggiao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chiphiban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanchietkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chenhlech" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mafifo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ma, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, taikhoanno, taikhoanco, mahang, tenhang, solo, chebien, phamcap, baoquan, kichco, tieuchuan, 
                         chitieu, hsd, quicach, dvt, soluongSO, soluonggiao, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, 
                         chiphiban, tilethueNK, tienthueNK, taikhoanthueNK, taikhoanchietkhau, chietkhau, nhomHD, chenhlech, tinhtrang, chinhanh, uid, id, kyketoan, diachidonvi, madonvi, 
                         tendonvi, mafifo, loai
FROM            BHBanHangChiTiet
WHERE        (ma IN
                             (SELECT        ma
                               FROM            BHBanHang
                               WHERE        (ma = BHBanHangChiTiet.ma) AND (ngaychungtu BETWEEN @tungay AND @denngay))) AND (loai = @loai)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="loai" ColumnName="loai" DataSourceName="PCV_Clinic.dbo.BHBanHangChiTiet" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.BHBanHangChiTiet" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.BHBanHangChiTiet" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHBanHangChiTiet] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [ngayhoadon] = @ngayhoadon, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [mahang] = @mahang, [tenhang] = @tenhang, [solo] = @solo, [chebien] = @chebien, [phamcap] = @phamcap, [baoquan] = @baoquan, [kichco] = @kichco, [tieuchuan] = @tieuchuan, [chitieu] = @chitieu, [hsd] = @hsd, [quicach] = @quicach, [dvt] = @dvt, [soluongSO] = @soluongSO, [soluonggiao] = @soluonggiao, [dongianguyente] = @dongianguyente, [dongiavnd] = @dongiavnd, [thanhtiennguyente] = @thanhtiennguyente, [thanhtienvnd] = @thanhtienvnd, [tilethueGTGT] = @tilethueGTGT, [tienthueGTGT] = @tienthueGTGT, [taikhoanthueGTGT] = @taikhoanthueGTGT, [chiphiban] = @chiphiban, [tilethueNK] = @tilethueNK, [tienthueNK] = @tienthueNK, [taikhoanthueNK] = @taikhoanthueNK, [taikhoanchietkhau] = @taikhoanchietkhau, [chietkhau] = @chietkhau, [nhomHD] = @nhomHD, [chenhlech] = @chenhlech, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [kyketoan] = @kyketoan, [diachidonvi] = @diachidonvi, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [mafifo] = @mafifo, [loai] = @loai WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_solo = 1 AND [solo] IS NULL) OR ([solo] = @Original_solo)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_tieuchuan = 1 AND [tieuchuan] IS NULL) OR ([tieuchuan] = @Original_tieuchuan)) AND ((@IsNull_chitieu = 1 AND [chitieu] IS NULL) OR ([chitieu] = @Original_chitieu)) AND ((@IsNull_hsd = 1 AND [hsd] IS NULL) OR ([hsd] = @Original_hsd)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_soluongSO = 1 AND [soluongSO] IS NULL) OR ([soluongSO] = @Original_soluongSO)) AND ((@IsNull_soluonggiao = 1 AND [soluonggiao] IS NULL) OR ([soluonggiao] = @Original_soluonggiao)) AND ((@IsNull_dongianguyente = 1 AND [dongianguyente] IS NULL) OR ([dongianguyente] = @Original_dongianguyente)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tilethueGTGT = 1 AND [tilethueGTGT] IS NULL) OR ([tilethueGTGT] = @Original_tilethueGTGT)) AND ((@IsNull_tienthueGTGT = 1 AND [tienthueGTGT] IS NULL) OR ([tienthueGTGT] = @Original_tienthueGTGT)) AND ((@IsNull_taikhoanthueGTGT = 1 AND [taikhoanthueGTGT] IS NULL) OR ([taikhoanthueGTGT] = @Original_taikhoanthueGTGT)) AND ((@IsNull_chiphiban = 1 AND [chiphiban] IS NULL) OR ([chiphiban] = @Original_chiphiban)) AND ((@IsNull_tilethueNK = 1 AND [tilethueNK] IS NULL) OR ([tilethueNK] = @Original_tilethueNK)) AND ((@IsNull_tienthueNK = 1 AND [tienthueNK] IS NULL) OR ([tienthueNK] = @Original_tienthueNK)) AND ((@IsNull_taikhoanthueNK = 1 AND [taikhoanthueNK] IS NULL) OR ([taikhoanthueNK] = @Original_taikhoanthueNK)) AND ((@IsNull_taikhoanchietkhau = 1 AND [taikhoanchietkhau] IS NULL) OR ([taikhoanchietkhau] = @Original_taikhoanchietkhau)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_nhomHD = 1 AND [nhomHD] IS NULL) OR ([nhomHD] = @Original_nhomHD)) AND ((@IsNull_chenhlech = 1 AND [chenhlech] IS NULL) OR ([chenhlech] = @Original_chenhlech)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_diachidonvi = 1 AND [diachidonvi] IS NULL) OR ([diachidonvi] = @Original_diachidonvi)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_mafifo = 1 AND [mafifo] IS NULL) OR ([mafifo] = @Original_mafifo)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)));
SELECT ma, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, taikhoanno, taikhoanco, mahang, tenhang, solo, chebien, phamcap, baoquan, kichco, tieuchuan, chitieu, hsd, quicach, dvt, soluongSO, soluonggiao, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, chiphiban, tilethueNK, tienthueNK, taikhoanthueNK, taikhoanchietkhau, chietkhau, nhomHD, chenhlech, tinhtrang, chinhanh, uid, id, kyketoan, diachidonvi, madonvi, tendonvi, mafifo, loai FROM BHBanHangChiTiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongSO" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluonggiao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chiphiban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanchietkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chenhlech" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mafifo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hsd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongSO" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluonggiao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluonggiao" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chiphiban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chiphiban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphiban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanchietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanchietkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanchietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhomHD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhomHD" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chenhlech" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chenhlech" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chenhlech" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachidonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mafifo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mafifo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mafifo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.BHBanHangChiTiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="solo" DataSetColumn="solo" />
              <Mapping SourceColumn="chebien" DataSetColumn="chebien" />
              <Mapping SourceColumn="phamcap" DataSetColumn="phamcap" />
              <Mapping SourceColumn="baoquan" DataSetColumn="baoquan" />
              <Mapping SourceColumn="kichco" DataSetColumn="kichco" />
              <Mapping SourceColumn="tieuchuan" DataSetColumn="tieuchuan" />
              <Mapping SourceColumn="chitieu" DataSetColumn="chitieu" />
              <Mapping SourceColumn="hsd" DataSetColumn="hsd" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="soluongSO" DataSetColumn="soluongSO" />
              <Mapping SourceColumn="soluonggiao" DataSetColumn="soluonggiao" />
              <Mapping SourceColumn="dongianguyente" DataSetColumn="dongianguyente" />
              <Mapping SourceColumn="dongiavnd" DataSetColumn="dongiavnd" />
              <Mapping SourceColumn="thanhtiennguyente" DataSetColumn="thanhtiennguyente" />
              <Mapping SourceColumn="thanhtienvnd" DataSetColumn="thanhtienvnd" />
              <Mapping SourceColumn="tilethueGTGT" DataSetColumn="tilethueGTGT" />
              <Mapping SourceColumn="tienthueGTGT" DataSetColumn="tienthueGTGT" />
              <Mapping SourceColumn="taikhoanthueGTGT" DataSetColumn="taikhoanthueGTGT" />
              <Mapping SourceColumn="chiphiban" DataSetColumn="chiphiban" />
              <Mapping SourceColumn="tilethueNK" DataSetColumn="tilethueNK" />
              <Mapping SourceColumn="tienthueNK" DataSetColumn="tienthueNK" />
              <Mapping SourceColumn="taikhoanthueNK" DataSetColumn="taikhoanthueNK" />
              <Mapping SourceColumn="taikhoanchietkhau" DataSetColumn="taikhoanchietkhau" />
              <Mapping SourceColumn="chietkhau" DataSetColumn="chietkhau" />
              <Mapping SourceColumn="nhomHD" DataSetColumn="nhomHD" />
              <Mapping SourceColumn="chenhlech" DataSetColumn="chenhlech" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="kyketoan" DataSetColumn="kyketoan" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="diachidonvi" DataSetColumn="diachidonvi" />
              <Mapping SourceColumn="mafifo" DataSetColumn="mafifo" />
              <Mapping SourceColumn="loai" DataSetColumn="loai" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_BHBanHangChiTiet" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_BHBanHangChiTiet" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_BHBanHangChiTiet" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_BHBanHangChiTiet">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_BHBanHangChiTiet</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DoSinhHieuTableAdapter" GeneratorDataComponentClassName="DoSinhHieuTableAdapter" Name="DoSinhHieu" UserDataComponentName="DoSinhHieuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DoSinhHieu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [DoSinhHieu] WHERE (([ma] = @Original_ma) AND ((@IsNull_masophieu = 1 AND [masophieu] IS NULL) OR ([masophieu] = @Original_masophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_ngaysinh = 1 AND [ngaysinh] IS NULL) OR ([ngaysinh] = @Original_ngaysinh)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_ngaydo = 1 AND [ngaydo] IS NULL) OR ([ngaydo] = @Original_ngaydo)) AND ((@IsNull_mach = 1 AND [mach] IS NULL) OR ([mach] = @Original_mach)) AND ((@IsNull_nhietdo = 1 AND [nhietdo] IS NULL) OR ([nhietdo] = @Original_nhietdo)) AND ((@IsNull_huyetap = 1 AND [huyetap] IS NULL) OR ([huyetap] = @Original_huyetap)) AND ((@IsNull_nhiptho = 1 AND [nhiptho] IS NULL) OR ([nhiptho] = @Original_nhiptho)) AND ((@IsNull_cannang = 1 AND [cannang] IS NULL) OR ([cannang] = @Original_cannang)) AND ((@IsNull_chieucao = 1 AND [chieucao] IS NULL) OR ([chieucao] = @Original_chieucao)) AND ((@IsNull_vongbung = 1 AND [vongbung] IS NULL) OR ([vongbung] = @Original_vongbung)) AND ((@IsNull_bmi = 1 AND [bmi] IS NULL) OR ([bmi] = @Original_bmi)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_hanbhyt = 1 AND [hanbhyt] IS NULL) OR ([hanbhyt] = @Original_hanbhyt)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaysinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaydo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaydo" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_huyetap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bmi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bmi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_bmi" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="bmi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanbhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [DoSinhHieu] ([ma], [masophieu], [mabenhnhan], [ten], [gioitinh], [ngaysinh], [tuoi], [diachi], [ngaydo], [mach], [nhietdo], [huyetap], [nhiptho], [cannang], [chieucao], [vongbung], [bmi], [ghichu], [tinhtrang], [chinhanh], [hanbhyt], [sobhyt]) VALUES (@ma, @masophieu, @mabenhnhan, @ten, @gioitinh, @ngaysinh, @tuoi, @diachi, @ngaydo, @mach, @nhietdo, @huyetap, @nhiptho, @cannang, @chieucao, @vongbung, @bmi, @ghichu, @tinhtrang, @chinhanh, @hanbhyt, @sobhyt);
SELECT ma, masophieu, mabenhnhan, ten, gioitinh, ngaysinh, tuoi, diachi, ngaydo, mach, nhietdo, huyetap, nhiptho, cannang, chieucao, vongbung, bmi, ghichu, tinhtrang, chinhanh, id, hanbhyt, sobhyt FROM DoSinhHieu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaysinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaydo" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@bmi" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="bmi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, masophieu, mabenhnhan, ten, gioitinh, ngaysinh, tuoi, diachi, ngaydo, mach, nhietdo, huyetap, nhiptho, cannang, chieucao, vongbung, bmi, ghichu, tinhtrang, chinhanh, id, hanbhyt, sobhyt FROM DoSinhHieu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [DoSinhHieu] SET [ma] = @ma, [masophieu] = @masophieu, [mabenhnhan] = @mabenhnhan, [ten] = @ten, [gioitinh] = @gioitinh, [ngaysinh] = @ngaysinh, [tuoi] = @tuoi, [diachi] = @diachi, [ngaydo] = @ngaydo, [mach] = @mach, [nhietdo] = @nhietdo, [huyetap] = @huyetap, [nhiptho] = @nhiptho, [cannang] = @cannang, [chieucao] = @chieucao, [vongbung] = @vongbung, [bmi] = @bmi, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [hanbhyt] = @hanbhyt, [sobhyt] = @sobhyt WHERE (([ma] = @Original_ma) AND ((@IsNull_masophieu = 1 AND [masophieu] IS NULL) OR ([masophieu] = @Original_masophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_ngaysinh = 1 AND [ngaysinh] IS NULL) OR ([ngaysinh] = @Original_ngaysinh)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_ngaydo = 1 AND [ngaydo] IS NULL) OR ([ngaydo] = @Original_ngaydo)) AND ((@IsNull_mach = 1 AND [mach] IS NULL) OR ([mach] = @Original_mach)) AND ((@IsNull_nhietdo = 1 AND [nhietdo] IS NULL) OR ([nhietdo] = @Original_nhietdo)) AND ((@IsNull_huyetap = 1 AND [huyetap] IS NULL) OR ([huyetap] = @Original_huyetap)) AND ((@IsNull_nhiptho = 1 AND [nhiptho] IS NULL) OR ([nhiptho] = @Original_nhiptho)) AND ((@IsNull_cannang = 1 AND [cannang] IS NULL) OR ([cannang] = @Original_cannang)) AND ((@IsNull_chieucao = 1 AND [chieucao] IS NULL) OR ([chieucao] = @Original_chieucao)) AND ((@IsNull_vongbung = 1 AND [vongbung] IS NULL) OR ([vongbung] = @Original_vongbung)) AND ((@IsNull_bmi = 1 AND [bmi] IS NULL) OR ([bmi] = @Original_bmi)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_hanbhyt = 1 AND [hanbhyt] IS NULL) OR ([hanbhyt] = @Original_hanbhyt)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)));
SELECT ma, masophieu, mabenhnhan, ten, gioitinh, ngaysinh, tuoi, diachi, ngaydo, mach, nhietdo, huyetap, nhiptho, cannang, chieucao, vongbung, bmi, ghichu, tinhtrang, chinhanh, id, hanbhyt, sobhyt FROM DoSinhHieu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaysinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaydo" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@bmi" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="bmi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaysinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaydo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaydo" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaydo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_huyetap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_cannang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cannang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_chieucao" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chieucao" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vongbung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vongbung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bmi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bmi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_bmi" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="bmi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanbhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.DoSinhHieu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="masophieu" DataSetColumn="masophieu" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="gioitinh" DataSetColumn="gioitinh" />
              <Mapping SourceColumn="ngaysinh" DataSetColumn="ngaysinh" />
              <Mapping SourceColumn="tuoi" DataSetColumn="tuoi" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="ngaydo" DataSetColumn="ngaydo" />
              <Mapping SourceColumn="mach" DataSetColumn="mach" />
              <Mapping SourceColumn="nhietdo" DataSetColumn="nhietdo" />
              <Mapping SourceColumn="huyetap" DataSetColumn="huyetap" />
              <Mapping SourceColumn="nhiptho" DataSetColumn="nhiptho" />
              <Mapping SourceColumn="cannang" DataSetColumn="cannang" />
              <Mapping SourceColumn="chieucao" DataSetColumn="chieucao" />
              <Mapping SourceColumn="vongbung" DataSetColumn="vongbung" />
              <Mapping SourceColumn="bmi" DataSetColumn="bmi" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="sobhyt" DataSetColumn="sobhyt" />
              <Mapping SourceColumn="hanbhyt" DataSetColumn="hanbhyt" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_DoSinhHieu" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_DoSinhHieu" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_DoSinhHieu" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_DoSinhHieu">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_DoSinhHieu</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DoSinhHieuTienSuBenhTableAdapter" GeneratorDataComponentClassName="DoSinhHieuTienSuBenhTableAdapter" Name="DoSinhHieuTienSuBenh" UserDataComponentName="DoSinhHieuTienSuBenhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DoSinhHieuTienSuBenh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [DoSinhHieuTienSuBenh] WHERE (([ma] = @Original_ma) AND ((@IsNull_masophieu = 1 AND [masophieu] IS NULL) OR ([masophieu] = @Original_masophieu)) AND ((@IsNull_mabenh = 1 AND [mabenh] IS NULL) OR ([mabenh] = @Original_mabenh)) AND ((@IsNull_tenbenh = 1 AND [tenbenh] IS NULL) OR ([tenbenh] = @Original_tenbenh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id) AND ([uid] = @Original_uid))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [DoSinhHieuTienSuBenh] ([ma], [masophieu], [mabenh], [tenbenh], [ghichu], [uid]) VALUES (@ma, @masophieu, @mabenh, @tenbenh, @ghichu, @uid);
SELECT ma, masophieu, mabenh, tenbenh, ghichu, id, uid FROM DoSinhHieuTienSuBenh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, masophieu, mabenh, tenbenh, ghichu, id, uid FROM DoSinhHieuTienSuBenh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [DoSinhHieuTienSuBenh] SET [ma] = @ma, [masophieu] = @masophieu, [mabenh] = @mabenh, [tenbenh] = @tenbenh, [ghichu] = @ghichu, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_masophieu = 1 AND [masophieu] IS NULL) OR ([masophieu] = @Original_masophieu)) AND ((@IsNull_mabenh = 1 AND [mabenh] IS NULL) OR ([mabenh] = @Original_mabenh)) AND ((@IsNull_tenbenh = 1 AND [tenbenh] IS NULL) OR ([tenbenh] = @Original_tenbenh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ([id] = @Original_id) AND ([uid] = @Original_uid));
SELECT ma, masophieu, mabenh, tenbenh, ghichu, id, uid FROM DoSinhHieuTienSuBenh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.DoSinhHieuTienSuBenh" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="masophieu" DataSetColumn="masophieu" />
              <Mapping SourceColumn="mabenh" DataSetColumn="mabenh" />
              <Mapping SourceColumn="tenbenh" DataSetColumn="tenbenh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KHHangHoaTableAdapter" GeneratorDataComponentClassName="KHHangHoaTableAdapter" Name="KHHangHoa" UserDataComponentName="KHHangHoaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.KHHangHoa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[KHHangHoa] WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tennguoigiaodich = 1 AND [tennguoigiaodich] IS NULL) OR ([tennguoigiaodich] = @Original_tennguoigiaodich)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_madoituong = 1 AND [madoituong] IS NULL) OR ([madoituong] = @Original_madoituong)) AND ((@IsNull_tendoituong = 1 AND [tendoituong] IS NULL) OR ([tendoituong] = @Original_tendoituong)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_mansx = 1 AND [mansx] IS NULL) OR ([mansx] = @Original_mansx)) AND ((@IsNull_tennsx = 1 AND [tennsx] IS NULL) OR ([tennsx] = @Original_tennsx)) AND ((@IsNull_diachinsx = 1 AND [diachinsx] IS NULL) OR ([diachinsx] = @Original_diachinsx)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_soPO = 1 AND [soPO] IS NULL) OR ([soPO] = @Original_soPO)) AND ((@IsNull_hinhthucthanhtoan = 1 AND [hinhthucthanhtoan] IS NULL) OR ([hinhthucthanhtoan] = @Original_hinhthucthanhtoan)) AND ((@IsNull_ngaythanhtoan = 1 AND [ngaythanhtoan] IS NULL) OR ([ngaythanhtoan] = @Original_ngaythanhtoan)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_tygiaTKHQ = 1 AND [tygiaTKHQ] IS NULL) OR ([tygiaTKHQ] = @Original_tygiaTKHQ)) AND ((@IsNull_sogiayphepnhapkhau = 1 AND [sogiayphepnhapkhau] IS NULL) OR ([sogiayphepnhapkhau] = @Original_sogiayphepnhapkhau)) AND ((@IsNull_sotokhaihaiquan = 1 AND [sotokhaihaiquan] IS NULL) OR ([sotokhaihaiquan] = @Original_sotokhaihaiquan)) AND ((@IsNull_ngaytokhaihaiquan = 1 AND [ngaytokhaihaiquan] IS NULL) OR ([ngaytokhaihaiquan] = @Original_ngaytokhaihaiquan)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_makho = 1 AND [makho] IS NULL) OR ([makho] = @Original_makho)) AND ((@IsNull_khoanmucphi = 1 AND [khoanmucphi] IS NULL) OR ([khoanmucphi] = @Original_khoanmucphi)) AND ((@IsNull_sothamchieu = 1 AND [sothamchieu] IS NULL) OR ([sothamchieu] = @Original_sothamchieu)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_lenhsanxuat = 1 AND [lenhsanxuat] IS NULL) OR ([lenhsanxuat] = @Original_lenhsanxuat)) AND ((@IsNull_maCTKM = 1 AND [maCTKM] IS NULL) OR ([maCTKM] = @Original_maCTKM)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennguoigiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madoituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendoituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachinsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soPO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygiaTKHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tygiaTKHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sogiayphepnhapkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sogiayphepnhapkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotokhaihaiquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotokhaihaiquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytokhaihaiquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytokhaihaiquan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmucphi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sothamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sothamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lenhsanxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maCTKM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maCTKM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[KHHangHoa] ([ma], [module], [manghiepvu], [sochungtu], [ngaychungtu], [sohoadon], [ngayhoadon], [tennguoigiaodich], [mabophan], [madoituong], [tendoituong], [diachi], [mansx], [tennsx], [diachinsx], [sohopdong], [soSO], [soPO], [hinhthucthanhtoan], [ngaythanhtoan], [dieukiengiaohang], [tygiaTKHQ], [sogiayphepnhapkhau], [sotokhaihaiquan], [ngaytokhaihaiquan], [diengiai], [makho], [khoanmucphi], [sothamchieu], [loaitien], [tygia], [nguyente], [tienvnd], [lenhsanxuat], [maCTKM], [kyketoan], [tinhtrang], [loai], [chinhanh]) VALUES (@ma, @module, @manghiepvu, @sochungtu, @ngaychungtu, @sohoadon, @ngayhoadon, @tennguoigiaodich, @mabophan, @madoituong, @tendoituong, @diachi, @mansx, @tennsx, @diachinsx, @sohopdong, @soSO, @soPO, @hinhthucthanhtoan, @ngaythanhtoan, @dieukiengiaohang, @tygiaTKHQ, @sogiayphepnhapkhau, @sotokhaihaiquan, @ngaytokhaihaiquan, @diengiai, @makho, @khoanmucphi, @sothamchieu, @loaitien, @tygia, @nguyente, @tienvnd, @lenhsanxuat, @maCTKM, @kyketoan, @tinhtrang, @loai, @chinhanh);
SELECT ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, tennguoigiaodich, mabophan, madoituong, tendoituong, diachi, mansx, tennsx, diachinsx, sohopdong, soSO, soPO, hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiaTKHQ, sogiayphepnhapkhau, sotokhaihaiquan, ngaytokhaihaiquan, diengiai, makho, khoanmucphi, sothamchieu, loaitien, tygia, nguyente, tienvnd, lenhsanxuat, maCTKM, kyketoan, tinhtrang, loai, chinhanh, id FROM KHHangHoa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tygiaTKHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sogiayphepnhapkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotokhaihaiquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytokhaihaiquan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sothamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maCTKM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, tennguoigiaodich, mabophan, madoituong, tendoituong, diachi, mansx, tennsx, diachinsx, sohopdong, soSO, soPO, hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiaTKHQ, sogiayphepnhapkhau, sotokhaihaiquan, ngaytokhaihaiquan, diengiai, makho, khoanmucphi, sothamchieu, loaitien, tygia, nguyente, tienvnd, lenhsanxuat, maCTKM, kyketoan, tinhtrang, loai, chinhanh, id FROM dbo.KHHangHoa where ngaychungtu between @tungay and @denngay</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaychungtu" DataSourceName="PCV_CLINIC.dbo.KHHangHoa" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaychungtu" DataSourceName="PCV_CLINIC.dbo.KHHangHoa" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[KHHangHoa] SET [ma] = @ma, [module] = @module, [manghiepvu] = @manghiepvu, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [ngayhoadon] = @ngayhoadon, [tennguoigiaodich] = @tennguoigiaodich, [mabophan] = @mabophan, [madoituong] = @madoituong, [tendoituong] = @tendoituong, [diachi] = @diachi, [mansx] = @mansx, [tennsx] = @tennsx, [diachinsx] = @diachinsx, [sohopdong] = @sohopdong, [soSO] = @soSO, [soPO] = @soPO, [hinhthucthanhtoan] = @hinhthucthanhtoan, [ngaythanhtoan] = @ngaythanhtoan, [dieukiengiaohang] = @dieukiengiaohang, [tygiaTKHQ] = @tygiaTKHQ, [sogiayphepnhapkhau] = @sogiayphepnhapkhau, [sotokhaihaiquan] = @sotokhaihaiquan, [ngaytokhaihaiquan] = @ngaytokhaihaiquan, [diengiai] = @diengiai, [makho] = @makho, [khoanmucphi] = @khoanmucphi, [sothamchieu] = @sothamchieu, [loaitien] = @loaitien, [tygia] = @tygia, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [lenhsanxuat] = @lenhsanxuat, [maCTKM] = @maCTKM, [kyketoan] = @kyketoan, [tinhtrang] = @tinhtrang, [loai] = @loai, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_tennguoigiaodich = 1 AND [tennguoigiaodich] IS NULL) OR ([tennguoigiaodich] = @Original_tennguoigiaodich)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_madoituong = 1 AND [madoituong] IS NULL) OR ([madoituong] = @Original_madoituong)) AND ((@IsNull_tendoituong = 1 AND [tendoituong] IS NULL) OR ([tendoituong] = @Original_tendoituong)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_mansx = 1 AND [mansx] IS NULL) OR ([mansx] = @Original_mansx)) AND ((@IsNull_tennsx = 1 AND [tennsx] IS NULL) OR ([tennsx] = @Original_tennsx)) AND ((@IsNull_diachinsx = 1 AND [diachinsx] IS NULL) OR ([diachinsx] = @Original_diachinsx)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_soPO = 1 AND [soPO] IS NULL) OR ([soPO] = @Original_soPO)) AND ((@IsNull_hinhthucthanhtoan = 1 AND [hinhthucthanhtoan] IS NULL) OR ([hinhthucthanhtoan] = @Original_hinhthucthanhtoan)) AND ((@IsNull_ngaythanhtoan = 1 AND [ngaythanhtoan] IS NULL) OR ([ngaythanhtoan] = @Original_ngaythanhtoan)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_tygiaTKHQ = 1 AND [tygiaTKHQ] IS NULL) OR ([tygiaTKHQ] = @Original_tygiaTKHQ)) AND ((@IsNull_sogiayphepnhapkhau = 1 AND [sogiayphepnhapkhau] IS NULL) OR ([sogiayphepnhapkhau] = @Original_sogiayphepnhapkhau)) AND ((@IsNull_sotokhaihaiquan = 1 AND [sotokhaihaiquan] IS NULL) OR ([sotokhaihaiquan] = @Original_sotokhaihaiquan)) AND ((@IsNull_ngaytokhaihaiquan = 1 AND [ngaytokhaihaiquan] IS NULL) OR ([ngaytokhaihaiquan] = @Original_ngaytokhaihaiquan)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_makho = 1 AND [makho] IS NULL) OR ([makho] = @Original_makho)) AND ((@IsNull_khoanmucphi = 1 AND [khoanmucphi] IS NULL) OR ([khoanmucphi] = @Original_khoanmucphi)) AND ((@IsNull_sothamchieu = 1 AND [sothamchieu] IS NULL) OR ([sothamchieu] = @Original_sothamchieu)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_lenhsanxuat = 1 AND [lenhsanxuat] IS NULL) OR ([lenhsanxuat] = @Original_lenhsanxuat)) AND ((@IsNull_maCTKM = 1 AND [maCTKM] IS NULL) OR ([maCTKM] = @Original_maCTKM)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, module, manghiepvu, sochungtu, ngaychungtu, sohoadon, ngayhoadon, tennguoigiaodich, mabophan, madoituong, tendoituong, diachi, mansx, tennsx, diachinsx, sohopdong, soSO, soPO, hinhthucthanhtoan, ngaythanhtoan, dieukiengiaohang, tygiaTKHQ, sogiayphepnhapkhau, sotokhaihaiquan, ngaytokhaihaiquan, diengiai, makho, khoanmucphi, sothamchieu, loaitien, tygia, nguyente, tienvnd, lenhsanxuat, maCTKM, kyketoan, tinhtrang, loai, chinhanh, id FROM KHHangHoa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tygiaTKHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sogiayphepnhapkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotokhaihaiquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytokhaihaiquan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sothamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maCTKM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennguoigiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madoituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madoituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendoituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendoituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendoituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachinsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soPO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythanhtoan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygiaTKHQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tygiaTKHQ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tygiaTKHQ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sogiayphepnhapkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sogiayphepnhapkhau" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sogiayphepnhapkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotokhaihaiquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotokhaihaiquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytokhaihaiquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytokhaihaiquan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytokhaihaiquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makho" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmucphi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sothamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sothamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sothamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lenhsanxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maCTKM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maCTKM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maCTKM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.KHHangHoa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="module" DataSetColumn="module" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="tennguoigiaodich" DataSetColumn="tennguoigiaodich" />
              <Mapping SourceColumn="mabophan" DataSetColumn="mabophan" />
              <Mapping SourceColumn="madoituong" DataSetColumn="madoituong" />
              <Mapping SourceColumn="tendoituong" DataSetColumn="tendoituong" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="mansx" DataSetColumn="mansx" />
              <Mapping SourceColumn="tennsx" DataSetColumn="tennsx" />
              <Mapping SourceColumn="diachinsx" DataSetColumn="diachinsx" />
              <Mapping SourceColumn="sohopdong" DataSetColumn="sohopdong" />
              <Mapping SourceColumn="soSO" DataSetColumn="soSO" />
              <Mapping SourceColumn="soPO" DataSetColumn="soPO" />
              <Mapping SourceColumn="hinhthucthanhtoan" DataSetColumn="hinhthucthanhtoan" />
              <Mapping SourceColumn="ngaythanhtoan" DataSetColumn="ngaythanhtoan" />
              <Mapping SourceColumn="dieukiengiaohang" DataSetColumn="dieukiengiaohang" />
              <Mapping SourceColumn="tygiaTKHQ" DataSetColumn="tygiaTKHQ" />
              <Mapping SourceColumn="sogiayphepnhapkhau" DataSetColumn="sogiayphepnhapkhau" />
              <Mapping SourceColumn="sotokhaihaiquan" DataSetColumn="sotokhaihaiquan" />
              <Mapping SourceColumn="ngaytokhaihaiquan" DataSetColumn="ngaytokhaihaiquan" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="makho" DataSetColumn="makho" />
              <Mapping SourceColumn="khoanmucphi" DataSetColumn="khoanmucphi" />
              <Mapping SourceColumn="sothamchieu" DataSetColumn="sothamchieu" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="lenhsanxuat" DataSetColumn="lenhsanxuat" />
              <Mapping SourceColumn="maCTKM" DataSetColumn="maCTKM" />
              <Mapping SourceColumn="kyketoan" DataSetColumn="kyketoan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="loai" DataSetColumn="loai" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_KHHangHoa" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_KHHangHoa" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_KHHangHoa" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_KHHangHoa">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_KHHangHoa</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KHHangHoaChiTietTableAdapter" GeneratorDataComponentClassName="KHHangHoaChiTietTableAdapter" Name="KHHangHoaChiTiet" UserDataComponentName="KHHangHoaChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.KHHangHoaChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [KHHangHoaChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_makhonhap = 1 AND [makhonhap] IS NULL) OR ([makhonhap] = @Original_makhonhap)) AND ((@IsNull_makhoxuat = 1 AND [makhoxuat] IS NULL) OR ([makhoxuat] = @Original_makhoxuat)) AND ((@IsNull_vitri = 1 AND [vitri] IS NULL) OR ([vitri] = @Original_vitri)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_solo = 1 AND [solo] IS NULL) OR ([solo] = @Original_solo)) AND ((@IsNull_sologoc = 1 AND [sologoc] IS NULL) OR ([sologoc] = @Original_sologoc)) AND ((@IsNull_tieuchuan = 1 AND [tieuchuan] IS NULL) OR ([tieuchuan] = @Original_tieuchuan)) AND ((@IsNull_chitieu = 1 AND [chitieu] IS NULL) OR ([chitieu] = @Original_chitieu)) AND ((@IsNull_hsd = 1 AND [hsd] IS NULL) OR ([hsd] = @Original_hsd)) AND ((@IsNull_soluongDN = 1 AND [soluongDN] IS NULL) OR ([soluongDN] = @Original_soluongDN)) AND ((@IsNull_soluonggiaodich = 1 AND [soluonggiaodich] IS NULL) OR ([soluonggiaodich] = @Original_soluonggiaodich)) AND ((@IsNull_soPO = 1 AND [soPO] IS NULL) OR ([soPO] = @Original_soPO)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_lenhsanxuat = 1 AND [lenhsanxuat] IS NULL) OR ([lenhsanxuat] = @Original_lenhsanxuat)) AND ((@IsNull_dongiangoaite = 1 AND [dongiangoaite] IS NULL) OR ([dongiangoaite] = @Original_dongiangoaite)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtienngoaite = 1 AND [thanhtienngoaite] IS NULL) OR ([thanhtienngoaite] = @Original_thanhtienngoaite)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tilethueGTGT = 1 AND [tilethueGTGT] IS NULL) OR ([tilethueGTGT] = @Original_tilethueGTGT)) AND ((@IsNull_tienthueGTGT = 1 AND [tienthueGTGT] IS NULL) OR ([tienthueGTGT] = @Original_tienthueGTGT)) AND ((@IsNull_taikhoanthueGTGT = 1 AND [taikhoanthueGTGT] IS NULL) OR ([taikhoanthueGTGT] = @Original_taikhoanthueGTGT)) AND ((@IsNull_chiphimua = 1 AND [chiphimua] IS NULL) OR ([chiphimua] = @Original_chiphimua)) AND ((@IsNull_tilethueNK = 1 AND [tilethueNK] IS NULL) OR ([tilethueNK] = @Original_tilethueNK)) AND ((@IsNull_tienthueNK = 1 AND [tienthueNK] IS NULL) OR ([tienthueNK] = @Original_tienthueNK)) AND ((@IsNull_taikhoanthueNK = 1 AND [taikhoanthueNK] IS NULL) OR ([taikhoanthueNK] = @Original_taikhoanthueNK)) AND ((@IsNull_giavonnhap = 1 AND [giavonnhap] IS NULL) OR ([giavonnhap] = @Original_giavonnhap)) AND ((@IsNull_thanhtiennhap = 1 AND [thanhtiennhap] IS NULL) OR ([thanhtiennhap] = @Original_thanhtiennhap)) AND ((@IsNull_thanhtienxuat = 1 AND [thanhtienxuat] IS NULL) OR ([thanhtienxuat] = @Original_thanhtienxuat)) AND ((@IsNull_maFIFO = 1 AND [maFIFO] IS NULL) OR ([maFIFO] = @Original_maFIFO)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_mahangmuc = 1 AND [mahangmuc] IS NULL) OR ([mahangmuc] = @Original_mahangmuc)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhonhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhonhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhoxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhoxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vitri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sologoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sologoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hsd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongDN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongDN" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluonggiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluonggiaodich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soPO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lenhsanxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiangoaite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiangoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienngoaite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienngoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilethueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chiphimua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chiphimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilethueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavonnhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavonnhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienxuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maFIFO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maFIFO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [KHHangHoaChiTiet] ([ma], [manghiepvu], [sochungtu], [ngaychungtu], [taikhoanno], [taikhoanco], [makhonhap], [makhoxuat], [vitri], [mahang], [tenhang], [quicach], [dvt], [solo], [sologoc], [tieuchuan], [chitieu], [hsd], [soluongDN], [soluonggiaodich], [soPO], [soSO], [lenhsanxuat], [dongiangoaite], [dongiavnd], [thanhtienngoaite], [thanhtienvnd], [tilethueGTGT], [tienthueGTGT], [taikhoanthueGTGT], [chiphimua], [tilethueNK], [tienthueNK], [taikhoanthueNK], [giavonnhap], [thanhtiennhap], [thanhtienxuat], [maFIFO], [doituong], [nguonvon], [mahangmuc], [chinhanh], [uid], [kyketoan]) VALUES (@ma, @manghiepvu, @sochungtu, @ngaychungtu, @taikhoanno, @taikhoanco, @makhonhap, @makhoxuat, @vitri, @mahang, @tenhang, @quicach, @dvt, @solo, @sologoc, @tieuchuan, @chitieu, @hsd, @soluongDN, @soluonggiaodich, @soPO, @soSO, @lenhsanxuat, @dongiangoaite, @dongiavnd, @thanhtienngoaite, @thanhtienvnd, @tilethueGTGT, @tienthueGTGT, @taikhoanthueGTGT, @chiphimua, @tilethueNK, @tienthueNK, @taikhoanthueNK, @giavonnhap, @thanhtiennhap, @thanhtienxuat, @maFIFO, @doituong, @nguonvon, @mahangmuc, @chinhanh, @uid, @kyketoan);
SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, makhonhap, makhoxuat, vitri, mahang, tenhang, quicach, dvt, solo, sologoc, tieuchuan, chitieu, hsd, soluongDN, soluonggiaodich, soPO, soSO, lenhsanxuat, dongiangoaite, dongiavnd, thanhtienngoaite, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, chiphimua, tilethueNK, tienthueNK, taikhoanthueNK, giavonnhap, thanhtiennhap, thanhtienxuat, maFIFO, doituong, nguonvon, mahangmuc, chinhanh, uid, id, kyketoan FROM KHHangHoaChiTiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhonhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhoxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sologoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongDN" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluonggiaodich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiangoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienngoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilethueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chiphimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilethueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavonnhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienxuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maFIFO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, makhonhap, makhoxuat, vitri, mahang, tenhang, quicach, dvt, solo, sologoc, tieuchuan, chitieu, hsd, soluongDN, soluonggiaodich, soPO, soSO, lenhsanxuat, dongiangoaite, dongiavnd, thanhtienngoaite, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, chiphimua, tilethueNK, tienthueNK, taikhoanthueNK, giavonnhap, thanhtiennhap, thanhtienxuat, maFIFO, doituong, nguonvon, mahangmuc, chinhanh, uid, id, kyketoan FROM KHHangHoaChiTiet WHERE (ma IN (SELECT ma FROM KHHangHoa WHERE (ma = KHHangHoaChiTiet.ma) AND (ngaychungtu BETWEEN @tungay AND @denngay)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaychungtu" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaychungtu" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [KHHangHoaChiTiet] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [makhonhap] = @makhonhap, [makhoxuat] = @makhoxuat, [vitri] = @vitri, [mahang] = @mahang, [tenhang] = @tenhang, [quicach] = @quicach, [dvt] = @dvt, [solo] = @solo, [sologoc] = @sologoc, [tieuchuan] = @tieuchuan, [chitieu] = @chitieu, [hsd] = @hsd, [soluongDN] = @soluongDN, [soluonggiaodich] = @soluonggiaodich, [soPO] = @soPO, [soSO] = @soSO, [lenhsanxuat] = @lenhsanxuat, [dongiangoaite] = @dongiangoaite, [dongiavnd] = @dongiavnd, [thanhtienngoaite] = @thanhtienngoaite, [thanhtienvnd] = @thanhtienvnd, [tilethueGTGT] = @tilethueGTGT, [tienthueGTGT] = @tienthueGTGT, [taikhoanthueGTGT] = @taikhoanthueGTGT, [chiphimua] = @chiphimua, [tilethueNK] = @tilethueNK, [tienthueNK] = @tienthueNK, [taikhoanthueNK] = @taikhoanthueNK, [giavonnhap] = @giavonnhap, [thanhtiennhap] = @thanhtiennhap, [thanhtienxuat] = @thanhtienxuat, [maFIFO] = @maFIFO, [doituong] = @doituong, [nguonvon] = @nguonvon, [mahangmuc] = @mahangmuc, [chinhanh] = @chinhanh, [uid] = @uid, [kyketoan] = @kyketoan WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_makhonhap = 1 AND [makhonhap] IS NULL) OR ([makhonhap] = @Original_makhonhap)) AND ((@IsNull_makhoxuat = 1 AND [makhoxuat] IS NULL) OR ([makhoxuat] = @Original_makhoxuat)) AND ((@IsNull_vitri = 1 AND [vitri] IS NULL) OR ([vitri] = @Original_vitri)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_solo = 1 AND [solo] IS NULL) OR ([solo] = @Original_solo)) AND ((@IsNull_sologoc = 1 AND [sologoc] IS NULL) OR ([sologoc] = @Original_sologoc)) AND ((@IsNull_tieuchuan = 1 AND [tieuchuan] IS NULL) OR ([tieuchuan] = @Original_tieuchuan)) AND ((@IsNull_chitieu = 1 AND [chitieu] IS NULL) OR ([chitieu] = @Original_chitieu)) AND ((@IsNull_hsd = 1 AND [hsd] IS NULL) OR ([hsd] = @Original_hsd)) AND ((@IsNull_soluongDN = 1 AND [soluongDN] IS NULL) OR ([soluongDN] = @Original_soluongDN)) AND ((@IsNull_soluonggiaodich = 1 AND [soluonggiaodich] IS NULL) OR ([soluonggiaodich] = @Original_soluonggiaodich)) AND ((@IsNull_soPO = 1 AND [soPO] IS NULL) OR ([soPO] = @Original_soPO)) AND ((@IsNull_soSO = 1 AND [soSO] IS NULL) OR ([soSO] = @Original_soSO)) AND ((@IsNull_lenhsanxuat = 1 AND [lenhsanxuat] IS NULL) OR ([lenhsanxuat] = @Original_lenhsanxuat)) AND ((@IsNull_dongiangoaite = 1 AND [dongiangoaite] IS NULL) OR ([dongiangoaite] = @Original_dongiangoaite)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtienngoaite = 1 AND [thanhtienngoaite] IS NULL) OR ([thanhtienngoaite] = @Original_thanhtienngoaite)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tilethueGTGT = 1 AND [tilethueGTGT] IS NULL) OR ([tilethueGTGT] = @Original_tilethueGTGT)) AND ((@IsNull_tienthueGTGT = 1 AND [tienthueGTGT] IS NULL) OR ([tienthueGTGT] = @Original_tienthueGTGT)) AND ((@IsNull_taikhoanthueGTGT = 1 AND [taikhoanthueGTGT] IS NULL) OR ([taikhoanthueGTGT] = @Original_taikhoanthueGTGT)) AND ((@IsNull_chiphimua = 1 AND [chiphimua] IS NULL) OR ([chiphimua] = @Original_chiphimua)) AND ((@IsNull_tilethueNK = 1 AND [tilethueNK] IS NULL) OR ([tilethueNK] = @Original_tilethueNK)) AND ((@IsNull_tienthueNK = 1 AND [tienthueNK] IS NULL) OR ([tienthueNK] = @Original_tienthueNK)) AND ((@IsNull_taikhoanthueNK = 1 AND [taikhoanthueNK] IS NULL) OR ([taikhoanthueNK] = @Original_taikhoanthueNK)) AND ((@IsNull_giavonnhap = 1 AND [giavonnhap] IS NULL) OR ([giavonnhap] = @Original_giavonnhap)) AND ((@IsNull_thanhtiennhap = 1 AND [thanhtiennhap] IS NULL) OR ([thanhtiennhap] = @Original_thanhtiennhap)) AND ((@IsNull_thanhtienxuat = 1 AND [thanhtienxuat] IS NULL) OR ([thanhtienxuat] = @Original_thanhtienxuat)) AND ((@IsNull_maFIFO = 1 AND [maFIFO] IS NULL) OR ([maFIFO] = @Original_maFIFO)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_mahangmuc = 1 AND [mahangmuc] IS NULL) OR ([mahangmuc] = @Original_mahangmuc)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)));
SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, makhonhap, makhoxuat, vitri, mahang, tenhang, quicach, dvt, solo, sologoc, tieuchuan, chitieu, hsd, soluongDN, soluonggiaodich, soPO, soSO, lenhsanxuat, dongiangoaite, dongiavnd, thanhtienngoaite, thanhtienvnd, tilethueGTGT, tienthueGTGT, taikhoanthueGTGT, chiphimua, tilethueNK, tienthueNK, taikhoanthueNK, giavonnhap, thanhtiennhap, thanhtienxuat, maFIFO, doituong, nguonvon, mahangmuc, chinhanh, uid, id, kyketoan FROM KHHangHoaChiTiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhonhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhoxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sologoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongDN" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluonggiaodich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiangoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienngoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilethueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chiphimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tilethueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavonnhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienxuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maFIFO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhonhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhonhap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhonhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhoxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhoxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhoxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vitri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vitri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vitri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_solo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="solo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sologoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sologoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sologoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tieuchuan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tieuchuan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tieuchuan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chitieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chitieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chitieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hsd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hsd" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hsd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongDN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongDN" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongDN" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluonggiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluonggiaodich" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluonggiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soPO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soPO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soPO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soSO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_soSO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="soSO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lenhsanxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lenhsanxuat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lenhsanxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiangoaite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiangoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiangoaite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienngoaite" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienngoaite" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienngoaite" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilethueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueGTGT" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueGTGT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueGTGT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueGTGT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chiphimua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chiphimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="chiphimua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilethueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tilethueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tilethueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthueNK" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthueNK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthueNK" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthueNK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavonnhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavonnhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavonnhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennhap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennhap" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennhap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienxuat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienxuat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienxuat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maFIFO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maFIFO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maFIFO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.KHHangHoaChiTiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="makhonhap" DataSetColumn="makhonhap" />
              <Mapping SourceColumn="makhoxuat" DataSetColumn="makhoxuat" />
              <Mapping SourceColumn="vitri" DataSetColumn="vitri" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="solo" DataSetColumn="solo" />
              <Mapping SourceColumn="sologoc" DataSetColumn="sologoc" />
              <Mapping SourceColumn="tieuchuan" DataSetColumn="tieuchuan" />
              <Mapping SourceColumn="chitieu" DataSetColumn="chitieu" />
              <Mapping SourceColumn="hsd" DataSetColumn="hsd" />
              <Mapping SourceColumn="soluongDN" DataSetColumn="soluongDN" />
              <Mapping SourceColumn="soluonggiaodich" DataSetColumn="soluonggiaodich" />
              <Mapping SourceColumn="soPO" DataSetColumn="soPO" />
              <Mapping SourceColumn="soSO" DataSetColumn="soSO" />
              <Mapping SourceColumn="lenhsanxuat" DataSetColumn="lenhsanxuat" />
              <Mapping SourceColumn="dongiangoaite" DataSetColumn="dongiangoaite" />
              <Mapping SourceColumn="dongiavnd" DataSetColumn="dongiavnd" />
              <Mapping SourceColumn="thanhtienngoaite" DataSetColumn="thanhtienngoaite" />
              <Mapping SourceColumn="thanhtienvnd" DataSetColumn="thanhtienvnd" />
              <Mapping SourceColumn="tilethueGTGT" DataSetColumn="tilethueGTGT" />
              <Mapping SourceColumn="tienthueGTGT" DataSetColumn="tienthueGTGT" />
              <Mapping SourceColumn="taikhoanthueGTGT" DataSetColumn="taikhoanthueGTGT" />
              <Mapping SourceColumn="chiphimua" DataSetColumn="chiphimua" />
              <Mapping SourceColumn="tilethueNK" DataSetColumn="tilethueNK" />
              <Mapping SourceColumn="tienthueNK" DataSetColumn="tienthueNK" />
              <Mapping SourceColumn="taikhoanthueNK" DataSetColumn="taikhoanthueNK" />
              <Mapping SourceColumn="giavonnhap" DataSetColumn="giavonnhap" />
              <Mapping SourceColumn="thanhtiennhap" DataSetColumn="thanhtiennhap" />
              <Mapping SourceColumn="thanhtienxuat" DataSetColumn="thanhtienxuat" />
              <Mapping SourceColumn="maFIFO" DataSetColumn="maFIFO" />
              <Mapping SourceColumn="doituong" DataSetColumn="doituong" />
              <Mapping SourceColumn="nguonvon" DataSetColumn="nguonvon" />
              <Mapping SourceColumn="mahangmuc" DataSetColumn="mahangmuc" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="kyketoan" DataSetColumn="kyketoan" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_KHHangHoaChiTiet" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_KHHangHoaChiTiet" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_KHHangHoaChiTiet" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_KHHangHoaChiTiet">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_KHHangHoaChiTiet</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MHDonDatHangTableAdapter" GeneratorDataComponentClassName="MHDonDatHangTableAdapter" Name="MHDonDatHang" UserDataComponentName="MHDonDatHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.MHDonDatHang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[MHDonDatHang] WHERE (([ma] = @Original_ma) AND ((@IsNull_madondathang = 1 AND [madondathang] IS NULL) OR ([madondathang] = @Original_madondathang)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_mancc = 1 AND [mancc] IS NULL) OR ([mancc] = @Original_mancc)) AND ((@IsNull_tenncc = 1 AND [tenncc] IS NULL) OR ([tenncc] = @Original_tenncc)) AND ((@IsNull_diachincc = 1 AND [diachincc] IS NULL) OR ([diachincc] = @Original_diachincc)) AND ((@IsNull_mansx = 1 AND [mansx] IS NULL) OR ([mansx] = @Original_mansx)) AND ((@IsNull_tennsx = 1 AND [tennsx] IS NULL) OR ([tennsx] = @Original_tennsx)) AND ((@IsNull_diachinsx = 1 AND [diachinsx] IS NULL) OR ([diachinsx] = @Original_diachinsx)) AND ((@IsNull_quocgiansx = 1 AND [quocgiansx] IS NULL) OR ([quocgiansx] = @Original_quocgiansx)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_dieukienthanhtoan = 1 AND [dieukienthanhtoan] IS NULL) OR ([dieukienthanhtoan] = @Original_dieukienthanhtoan)) AND ((@IsNull_thoigiangiaohang = 1 AND [thoigiangiaohang] IS NULL) OR ([thoigiangiaohang] = @Original_thoigiangiaohang)) AND ((@IsNull_hinhthucgiaohang = 1 AND [hinhthucgiaohang] IS NULL) OR ([hinhthucgiaohang] = @Original_hinhthucgiaohang)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_loaidondathang = 1 AND [loaidondathang] IS NULL) OR ([loaidondathang] = @Original_loaidondathang)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mancc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenncc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenncc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachincc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachincc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachinsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quocgiansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quocgiansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukienthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukienthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiangiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucgiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucgiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaidondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaidondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[MHDonDatHang] ([ma], [madondathang], [ngaylap], [mancc], [tenncc], [diachincc], [mansx], [tennsx], [diachinsx], [quocgiansx], [dieukiengiaohang], [dieukienthanhtoan], [thoigiangiaohang], [hinhthucgiaohang], [loaitien], [loaidondathang], [tinhtrang], [chinhanh]) VALUES (@ma, @madondathang, @ngaylap, @mancc, @tenncc, @diachincc, @mansx, @tennsx, @diachinsx, @quocgiansx, @dieukiengiaohang, @dieukienthanhtoan, @thoigiangiaohang, @hinhthucgiaohang, @loaitien, @loaidondathang, @tinhtrang, @chinhanh);
SELECT ma, madondathang, ngaylap, mancc, tenncc, diachincc, mansx, tennsx, diachinsx, quocgiansx, dieukiengiaohang, dieukienthanhtoan, thoigiangiaohang, hinhthucgiaohang, loaitien, loaidondathang, tinhtrang, chinhanh, id FROM MHDonDatHang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenncc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachincc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quocgiansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukienthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucgiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaidondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, madondathang, ngaylap, mancc, tenncc, diachincc, mansx, tennsx, diachinsx, quocgiansx, dieukiengiaohang, dieukienthanhtoan, thoigiangiaohang, hinhthucgiaohang, loaitien, loaidondathang, tinhtrang, chinhanh, id FROM dbo.MHDonDatHang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[MHDonDatHang] SET [ma] = @ma, [madondathang] = @madondathang, [ngaylap] = @ngaylap, [mancc] = @mancc, [tenncc] = @tenncc, [diachincc] = @diachincc, [mansx] = @mansx, [tennsx] = @tennsx, [diachinsx] = @diachinsx, [quocgiansx] = @quocgiansx, [dieukiengiaohang] = @dieukiengiaohang, [dieukienthanhtoan] = @dieukienthanhtoan, [thoigiangiaohang] = @thoigiangiaohang, [hinhthucgiaohang] = @hinhthucgiaohang, [loaitien] = @loaitien, [loaidondathang] = @loaidondathang, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_madondathang = 1 AND [madondathang] IS NULL) OR ([madondathang] = @Original_madondathang)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_mancc = 1 AND [mancc] IS NULL) OR ([mancc] = @Original_mancc)) AND ((@IsNull_tenncc = 1 AND [tenncc] IS NULL) OR ([tenncc] = @Original_tenncc)) AND ((@IsNull_diachincc = 1 AND [diachincc] IS NULL) OR ([diachincc] = @Original_diachincc)) AND ((@IsNull_mansx = 1 AND [mansx] IS NULL) OR ([mansx] = @Original_mansx)) AND ((@IsNull_tennsx = 1 AND [tennsx] IS NULL) OR ([tennsx] = @Original_tennsx)) AND ((@IsNull_diachinsx = 1 AND [diachinsx] IS NULL) OR ([diachinsx] = @Original_diachinsx)) AND ((@IsNull_quocgiansx = 1 AND [quocgiansx] IS NULL) OR ([quocgiansx] = @Original_quocgiansx)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_dieukienthanhtoan = 1 AND [dieukienthanhtoan] IS NULL) OR ([dieukienthanhtoan] = @Original_dieukienthanhtoan)) AND ((@IsNull_thoigiangiaohang = 1 AND [thoigiangiaohang] IS NULL) OR ([thoigiangiaohang] = @Original_thoigiangiaohang)) AND ((@IsNull_hinhthucgiaohang = 1 AND [hinhthucgiaohang] IS NULL) OR ([hinhthucgiaohang] = @Original_hinhthucgiaohang)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_loaidondathang = 1 AND [loaidondathang] IS NULL) OR ([loaidondathang] = @Original_loaidondathang)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, madondathang, ngaylap, mancc, tenncc, diachincc, mansx, tennsx, diachinsx, quocgiansx, dieukiengiaohang, dieukienthanhtoan, thoigiangiaohang, hinhthucgiaohang, loaitien, loaidondathang, tinhtrang, chinhanh, id FROM MHDonDatHang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenncc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachincc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quocgiansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukienthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hinhthucgiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaidondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mancc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mancc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mancc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenncc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenncc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenncc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachincc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachincc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachincc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachinsx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachinsx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachinsx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quocgiansx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quocgiansx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgiansx" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukienthanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukienthanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukienthanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiangiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hinhthucgiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hinhthucgiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hinhthucgiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaidondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaidondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaidondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.MHDonDatHang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="madondathang" DataSetColumn="madondathang" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="mancc" DataSetColumn="mancc" />
              <Mapping SourceColumn="tenncc" DataSetColumn="tenncc" />
              <Mapping SourceColumn="diachincc" DataSetColumn="diachincc" />
              <Mapping SourceColumn="mansx" DataSetColumn="mansx" />
              <Mapping SourceColumn="tennsx" DataSetColumn="tennsx" />
              <Mapping SourceColumn="diachinsx" DataSetColumn="diachinsx" />
              <Mapping SourceColumn="quocgiansx" DataSetColumn="quocgiansx" />
              <Mapping SourceColumn="dieukiengiaohang" DataSetColumn="dieukiengiaohang" />
              <Mapping SourceColumn="dieukienthanhtoan" DataSetColumn="dieukienthanhtoan" />
              <Mapping SourceColumn="thoigiangiaohang" DataSetColumn="thoigiangiaohang" />
              <Mapping SourceColumn="hinhthucgiaohang" DataSetColumn="hinhthucgiaohang" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="loaidondathang" DataSetColumn="loaidondathang" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MHDonDatHangChiTietTableAdapter" GeneratorDataComponentClassName="MHDonDatHangChiTietTableAdapter" Name="MHDonDatHangChiTiet" UserDataComponentName="MHDonDatHangChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.MHDonDatHangChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [MHDonDatHangChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_gianguyente = 1 AND [gianguyente] IS NULL) OR ([gianguyente] = @Original_gianguyente)) AND ((@IsNull_giavnd = 1 AND [giavnd] IS NULL) OR ([giavnd] = @Original_giavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_madondathang = 1 AND [madondathang] IS NULL) OR ([madondathang] = @Original_madondathang)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [MHDonDatHangChiTiet] ([ma], [mahang], [tenhang], [donvitinh], [quicach], [kichco], [chebien], [baoquan], [phamcap], [soluong], [gianguyente], [giavnd], [thanhtiennguyente], [thanhtienvnd], [tinhtrang], [chinhanh], [uid], [madondathang], [ngaylap]) VALUES (@ma, @mahang, @tenhang, @donvitinh, @quicach, @kichco, @chebien, @baoquan, @phamcap, @soluong, @gianguyente, @giavnd, @thanhtiennguyente, @thanhtienvnd, @tinhtrang, @chinhanh, @uid, @madondathang, @ngaylap);
SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, gianguyente, giavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, madondathang, ngaylap FROM MHDonDatHangChiTiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, gianguyente, giavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, madondathang, ngaylap FROM MHDonDatHangChiTiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [MHDonDatHangChiTiet] SET [ma] = @ma, [mahang] = @mahang, [tenhang] = @tenhang, [donvitinh] = @donvitinh, [quicach] = @quicach, [kichco] = @kichco, [chebien] = @chebien, [baoquan] = @baoquan, [phamcap] = @phamcap, [soluong] = @soluong, [gianguyente] = @gianguyente, [giavnd] = @giavnd, [thanhtiennguyente] = @thanhtiennguyente, [thanhtienvnd] = @thanhtienvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [madondathang] = @madondathang, [ngaylap] = @ngaylap WHERE (([ma] = @Original_ma) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_gianguyente = 1 AND [gianguyente] IS NULL) OR ([gianguyente] = @Original_gianguyente)) AND ((@IsNull_giavnd = 1 AND [giavnd] IS NULL) OR ([giavnd] = @Original_giavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_madondathang = 1 AND [madondathang] IS NULL) OR ([madondathang] = @Original_madondathang)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)));
SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, gianguyente, giavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, madondathang, ngaylap FROM MHDonDatHangChiTiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madondathang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madondathang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madondathang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.MHDonDatHangChiTiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="kichco" DataSetColumn="kichco" />
              <Mapping SourceColumn="chebien" DataSetColumn="chebien" />
              <Mapping SourceColumn="baoquan" DataSetColumn="baoquan" />
              <Mapping SourceColumn="phamcap" DataSetColumn="phamcap" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="gianguyente" DataSetColumn="gianguyente" />
              <Mapping SourceColumn="giavnd" DataSetColumn="giavnd" />
              <Mapping SourceColumn="thanhtiennguyente" DataSetColumn="thanhtiennguyente" />
              <Mapping SourceColumn="thanhtienvnd" DataSetColumn="thanhtienvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="madondathang" DataSetColumn="madondathang" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhTableAdapter" Name="PhieuKhamBenh" UserDataComponentName="PhieuKhamBenhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [PhieuKhamBenh] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_ngaykham = 1 AND [ngaykham] IS NULL) OR ([ngaykham] = @Original_ngaykham)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_tenbenhnhan = 1 AND [tenbenhnhan] IS NULL) OR ([tenbenhnhan] = @Original_tenbenhnhan)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)) AND ((@IsNull_hanbhyt = 1 AND [hanbhyt] IS NULL) OR ([hanbhyt] = @Original_hanbhyt)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_trieuchung = 1 AND [trieuchung] IS NULL) OR ([trieuchung] = @Original_trieuchung)) AND ((@IsNull_mach = 1 AND [mach] IS NULL) OR ([mach] = @Original_mach)) AND ((@IsNull_huyetap = 1 AND [huyetap] IS NULL) OR ([huyetap] = @Original_huyetap)) AND ((@IsNull_nhietdo = 1 AND [nhietdo] IS NULL) OR ([nhietdo] = @Original_nhietdo)) AND ((@IsNull_nhiptho = 1 AND [nhiptho] IS NULL) OR ([nhiptho] = @Original_nhiptho)) AND ((@IsNull_chandoansobo = 1 AND [chandoansobo] IS NULL) OR ([chandoansobo] = @Original_chandoansobo)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_chandoanphu1 = 1 AND [chandoanphu1] IS NULL) OR ([chandoanphu1] = @Original_chandoanphu1)) AND ((@IsNull_chandoanphu2 = 1 AND [chandoanphu2] IS NULL) OR ([chandoanphu2] = @Original_chandoanphu2)) AND ((@IsNull_xuly = 1 AND [xuly] IS NULL) OR ([xuly] = @Original_xuly)) AND ((@IsNull_chidinhdieutri = 1 AND [chidinhdieutri] IS NULL) OR ([chidinhdieutri] = @Original_chidinhdieutri)) AND ((@IsNull_loidanbacsi = 1 AND [loidanbacsi] IS NULL) OR ([loidanbacsi] = @Original_loidanbacsi)) AND ((@IsNull_noidungtaikham = 1 AND [noidungtaikham] IS NULL) OR ([noidungtaikham] = @Original_noidungtaikham)) AND ((@IsNull_taikhamsau = 1 AND [taikhamsau] IS NULL) OR ([taikhamsau] = @Original_taikhamsau)) AND ((@IsNull_ngaytaikham = 1 AND [ngaytaikham] IS NULL) OR ([ngaytaikham] = @Original_ngaytaikham)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_tongchiphikham = 1 AND [tongchiphikham] IS NULL) OR ([tongchiphikham] = @Original_tongchiphikham)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaykham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaykham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanbhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_trieuchung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_trieuchung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_huyetap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoansobo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoanphu1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoanphu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoanphu2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoanphu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xuly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_xuly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chidinhdieutri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chidinhdieutri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loidanbacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loidanbacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidungtaikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidungtaikham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytaikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytaikham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongchiphikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongchiphikham" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [PhieuKhamBenh] ([ma], [sophieu], [ngaykham], [bacsi], [mabenhnhan], [tenbenhnhan], [tuoi], [gioitinh], [sobhyt], [hanbhyt], [diachi], [trieuchung], [mach], [huyetap], [nhietdo], [nhiptho], [chandoansobo], [chandoan], [chandoanphu1], [chandoanphu2], [xuly], [chidinhdieutri], [loidanbacsi], [noidungtaikham], [taikhamsau], [ngaytaikham], [ghichu], [tinhtrang], [chinhanh], [tongchiphikham]) VALUES (@ma, @sophieu, @ngaykham, @bacsi, @mabenhnhan, @tenbenhnhan, @tuoi, @gioitinh, @sobhyt, @hanbhyt, @diachi, @trieuchung, @mach, @huyetap, @nhietdo, @nhiptho, @chandoansobo, @chandoan, @chandoanphu1, @chandoanphu2, @xuly, @chidinhdieutri, @loidanbacsi, @noidungtaikham, @taikhamsau, @ngaytaikham, @ghichu, @tinhtrang, @chinhanh, @tongchiphikham);
SELECT ma, sophieu, ngaykham, bacsi, mabenhnhan, tenbenhnhan, tuoi, gioitinh, sobhyt, hanbhyt, diachi, trieuchung, mach, huyetap, nhietdo, nhiptho, chandoansobo, chandoan, chandoanphu1, chandoanphu2, xuly, chidinhdieutri, loidanbacsi, noidungtaikham, taikhamsau, ngaytaikham, ghichu, tinhtrang, chinhanh, id, tongchiphikham FROM PhieuKhamBenh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaykham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@trieuchung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoanphu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoanphu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@xuly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chidinhdieutri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loidanbacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidungtaikham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytaikham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongchiphikham" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, ngaykham, bacsi, mabenhnhan, tenbenhnhan, tuoi, gioitinh, sobhyt, hanbhyt, diachi, trieuchung, mach, huyetap, nhietdo, nhiptho, chandoansobo, chandoan, chandoanphu1, chandoanphu2, xuly, chidinhdieutri, loidanbacsi, noidungtaikham, taikhamsau, ngaytaikham, ghichu, tinhtrang, chinhanh, id, tongchiphikham FROM PhieuKhamBenh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [PhieuKhamBenh] SET [ma] = @ma, [sophieu] = @sophieu, [ngaykham] = @ngaykham, [bacsi] = @bacsi, [mabenhnhan] = @mabenhnhan, [tenbenhnhan] = @tenbenhnhan, [tuoi] = @tuoi, [gioitinh] = @gioitinh, [sobhyt] = @sobhyt, [hanbhyt] = @hanbhyt, [diachi] = @diachi, [trieuchung] = @trieuchung, [mach] = @mach, [huyetap] = @huyetap, [nhietdo] = @nhietdo, [nhiptho] = @nhiptho, [chandoansobo] = @chandoansobo, [chandoan] = @chandoan, [chandoanphu1] = @chandoanphu1, [chandoanphu2] = @chandoanphu2, [xuly] = @xuly, [chidinhdieutri] = @chidinhdieutri, [loidanbacsi] = @loidanbacsi, [noidungtaikham] = @noidungtaikham, [taikhamsau] = @taikhamsau, [ngaytaikham] = @ngaytaikham, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [tongchiphikham] = @tongchiphikham WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_ngaykham = 1 AND [ngaykham] IS NULL) OR ([ngaykham] = @Original_ngaykham)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_tenbenhnhan = 1 AND [tenbenhnhan] IS NULL) OR ([tenbenhnhan] = @Original_tenbenhnhan)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)) AND ((@IsNull_hanbhyt = 1 AND [hanbhyt] IS NULL) OR ([hanbhyt] = @Original_hanbhyt)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_trieuchung = 1 AND [trieuchung] IS NULL) OR ([trieuchung] = @Original_trieuchung)) AND ((@IsNull_mach = 1 AND [mach] IS NULL) OR ([mach] = @Original_mach)) AND ((@IsNull_huyetap = 1 AND [huyetap] IS NULL) OR ([huyetap] = @Original_huyetap)) AND ((@IsNull_nhietdo = 1 AND [nhietdo] IS NULL) OR ([nhietdo] = @Original_nhietdo)) AND ((@IsNull_nhiptho = 1 AND [nhiptho] IS NULL) OR ([nhiptho] = @Original_nhiptho)) AND ((@IsNull_chandoansobo = 1 AND [chandoansobo] IS NULL) OR ([chandoansobo] = @Original_chandoansobo)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_chandoanphu1 = 1 AND [chandoanphu1] IS NULL) OR ([chandoanphu1] = @Original_chandoanphu1)) AND ((@IsNull_chandoanphu2 = 1 AND [chandoanphu2] IS NULL) OR ([chandoanphu2] = @Original_chandoanphu2)) AND ((@IsNull_xuly = 1 AND [xuly] IS NULL) OR ([xuly] = @Original_xuly)) AND ((@IsNull_chidinhdieutri = 1 AND [chidinhdieutri] IS NULL) OR ([chidinhdieutri] = @Original_chidinhdieutri)) AND ((@IsNull_loidanbacsi = 1 AND [loidanbacsi] IS NULL) OR ([loidanbacsi] = @Original_loidanbacsi)) AND ((@IsNull_noidungtaikham = 1 AND [noidungtaikham] IS NULL) OR ([noidungtaikham] = @Original_noidungtaikham)) AND ((@IsNull_taikhamsau = 1 AND [taikhamsau] IS NULL) OR ([taikhamsau] = @Original_taikhamsau)) AND ((@IsNull_ngaytaikham = 1 AND [ngaytaikham] IS NULL) OR ([ngaytaikham] = @Original_ngaytaikham)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_tongchiphikham = 1 AND [tongchiphikham] IS NULL) OR ([tongchiphikham] = @Original_tongchiphikham)));
SELECT ma, sophieu, ngaykham, bacsi, mabenhnhan, tenbenhnhan, tuoi, gioitinh, sobhyt, hanbhyt, diachi, trieuchung, mach, huyetap, nhietdo, nhiptho, chandoansobo, chandoan, chandoanphu1, chandoanphu2, xuly, chidinhdieutri, loidanbacsi, noidungtaikham, taikhamsau, ngaytaikham, ghichu, tinhtrang, chinhanh, id, tongchiphikham FROM PhieuKhamBenh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaykham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@trieuchung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoanphu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoanphu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@xuly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chidinhdieutri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loidanbacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidungtaikham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytaikham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongchiphikham" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaykham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaykham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hanbhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_hanbhyt" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="hanbhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_trieuchung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_trieuchung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="trieuchung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_huyetap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_huyetap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="huyetap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhietdo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhietdo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_nhiptho" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nhiptho" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoansobo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoanphu1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoanphu1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoanphu2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoanphu2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoanphu2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xuly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_xuly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="xuly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chidinhdieutri" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chidinhdieutri" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chidinhdieutri" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loidanbacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loidanbacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loidanbacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidungtaikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidungtaikham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidungtaikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_taikhamsau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhamsau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytaikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytaikham" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytaikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongchiphikham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongchiphikham" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongchiphikham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenh" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="ngaykham" DataSetColumn="ngaykham" />
              <Mapping SourceColumn="bacsi" DataSetColumn="bacsi" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="tenbenhnhan" DataSetColumn="tenbenhnhan" />
              <Mapping SourceColumn="tuoi" DataSetColumn="tuoi" />
              <Mapping SourceColumn="gioitinh" DataSetColumn="gioitinh" />
              <Mapping SourceColumn="sobhyt" DataSetColumn="sobhyt" />
              <Mapping SourceColumn="hanbhyt" DataSetColumn="hanbhyt" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="trieuchung" DataSetColumn="trieuchung" />
              <Mapping SourceColumn="mach" DataSetColumn="mach" />
              <Mapping SourceColumn="huyetap" DataSetColumn="huyetap" />
              <Mapping SourceColumn="nhietdo" DataSetColumn="nhietdo" />
              <Mapping SourceColumn="nhiptho" DataSetColumn="nhiptho" />
              <Mapping SourceColumn="chandoansobo" DataSetColumn="chandoansobo" />
              <Mapping SourceColumn="chandoan" DataSetColumn="chandoan" />
              <Mapping SourceColumn="chandoanphu1" DataSetColumn="chandoanphu1" />
              <Mapping SourceColumn="chandoanphu2" DataSetColumn="chandoanphu2" />
              <Mapping SourceColumn="xuly" DataSetColumn="xuly" />
              <Mapping SourceColumn="chidinhdieutri" DataSetColumn="chidinhdieutri" />
              <Mapping SourceColumn="loidanbacsi" DataSetColumn="loidanbacsi" />
              <Mapping SourceColumn="noidungtaikham" DataSetColumn="noidungtaikham" />
              <Mapping SourceColumn="taikhamsau" DataSetColumn="taikhamsau" />
              <Mapping SourceColumn="ngaytaikham" DataSetColumn="ngaytaikham" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="tongchiphikham" DataSetColumn="tongchiphikham" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChiDinh_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChiDinh_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChiDinh_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_PhieuChiDinh_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChiDinh_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChuyenKhoa_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChuyenKhoa_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChuyenVien_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChuyenVien_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChuyenVien_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="FillMa_PhieuChuyenVien_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChuyenVien_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="FillMa_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_ToaThuoc_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_ToaThuoc_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_ToaThuoc_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="FillMa_ToaThuoc_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_ToaThuoc_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillNgayKham_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillNgayKham_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillNgayKham_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="FillNgayKham_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillNgayKham_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhDichVuTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhDichVuTableAdapter" Name="PhieuKhamBenhDichVu" UserDataComponentName="PhieuKhamBenhDichVuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenhDichVu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [PhieuKhamBenhDichVu] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_madichvu = 1 AND [madichvu] IS NULL) OR ([madichvu] = @Original_madichvu)) AND ((@IsNull_tendichvu = 1 AND [tendichvu] IS NULL) OR ([tendichvu] = @Original_tendichvu)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_baohiemchi = 1 AND [baohiemchi] IS NULL) OR ([baohiemchi] = @Original_baohiemchi)) AND ((@IsNull_noithuchien = 1 AND [noithuchien] IS NULL) OR ([noithuchien] = @Original_noithuchien)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baohiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noithuchien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [PhieuKhamBenhDichVu] ([ma], [sophieu], [mabenhnhan], [madichvu], [tendichvu], [donvitinh], [dongia], [ghichu], [chinhanh], [uid], [baohiemchi], [noithuchien], [soluong], [thanhtien]) VALUES (@ma, @sophieu, @mabenhnhan, @madichvu, @tendichvu, @donvitinh, @dongia, @ghichu, @chinhanh, @uid, @baohiemchi, @noithuchien, @soluong, @thanhtien);
SELECT ma, sophieu, mabenhnhan, madichvu, tendichvu, donvitinh, dongia, ghichu, chinhanh, uid, id, baohiemchi, noithuchien, soluong, thanhtien FROM PhieuKhamBenhDichVu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, mabenhnhan, madichvu, tendichvu, donvitinh, dongia, ghichu, chinhanh, uid, id, baohiemchi, noithuchien, soluong, thanhtien FROM PhieuKhamBenhDichVu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [PhieuKhamBenhDichVu] SET [ma] = @ma, [sophieu] = @sophieu, [mabenhnhan] = @mabenhnhan, [madichvu] = @madichvu, [tendichvu] = @tendichvu, [donvitinh] = @donvitinh, [dongia] = @dongia, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [uid] = @uid, [baohiemchi] = @baohiemchi, [noithuchien] = @noithuchien, [soluong] = @soluong, [thanhtien] = @thanhtien WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_madichvu = 1 AND [madichvu] IS NULL) OR ([madichvu] = @Original_madichvu)) AND ((@IsNull_tendichvu = 1 AND [tendichvu] IS NULL) OR ([tendichvu] = @Original_tendichvu)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_baohiemchi = 1 AND [baohiemchi] IS NULL) OR ([baohiemchi] = @Original_baohiemchi)) AND ((@IsNull_noithuchien = 1 AND [noithuchien] IS NULL) OR ([noithuchien] = @Original_noithuchien)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)));
SELECT ma, sophieu, mabenhnhan, madichvu, tendichvu, donvitinh, dongia, ghichu, chinhanh, uid, id, baohiemchi, noithuchien, soluong, thanhtien FROM PhieuKhamBenhDichVu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baohiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noithuchien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenhDichVu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="madichvu" DataSetColumn="madichvu" />
              <Mapping SourceColumn="tendichvu" DataSetColumn="tendichvu" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="dongia" DataSetColumn="dongia" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="thanhtien" DataSetColumn="thanhtien" />
              <Mapping SourceColumn="baohiemchi" DataSetColumn="baohiemchi" />
              <Mapping SourceColumn="noithuchien" DataSetColumn="noithuchien" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChiDinh_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChiDinh_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChiDinh_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_PhieuChiDinh_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChiDinh_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhToaThuocTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhToaThuocTableAdapter" Name="PhieuKhamBenhToaThuoc" UserDataComponentName="PhieuKhamBenhToaThuocTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenhToaThuoc" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [PhieuKhamBenhToaThuoc] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_mathuoc = 1 AND [mathuoc] IS NULL) OR ([mathuoc] = @Original_mathuoc)) AND ((@IsNull_tenthuoc = 1 AND [tenthuoc] IS NULL) OR ([tenthuoc] = @Original_tenthuoc)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_cachdung = 1 AND [cachdung] IS NULL) OR ([cachdung] = @Original_cachdung)) AND ((@IsNull_landung = 1 AND [landung] IS NULL) OR ([landung] = @Original_landung)) AND ((@IsNull_luongdung = 1 AND [luongdung] IS NULL) OR ([luongdung] = @Original_luongdung)) AND ((@IsNull_dvdung = 1 AND [dvdung] IS NULL) OR ([dvdung] = @Original_dvdung)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenthuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenthuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cachdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cachdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [PhieuKhamBenhToaThuoc] ([ma], [sophieu], [mabenhnhan], [mathuoc], [tenthuoc], [dvt], [cachdung], [landung], [luongdung], [dvdung], [ghichu], [dongia], [thanhtien], [tinhtrang], [chinhanh], [uid], [soluong]) VALUES (@ma, @sophieu, @mabenhnhan, @mathuoc, @tenthuoc, @dvt, @cachdung, @landung, @luongdung, @dvdung, @ghichu, @dongia, @thanhtien, @tinhtrang, @chinhanh, @uid, @soluong);
SELECT ma, sophieu, mabenhnhan, mathuoc, tenthuoc, dvt, cachdung, landung, luongdung, dvdung, ghichu, dongia, thanhtien, tinhtrang, chinhanh, uid, id, soluong FROM PhieuKhamBenhToaThuoc WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenthuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cachdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, mabenhnhan, mathuoc, tenthuoc, dvt, cachdung, landung, luongdung, dvdung, ghichu, dongia, thanhtien, tinhtrang, chinhanh, uid, id, soluong FROM PhieuKhamBenhToaThuoc</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [PhieuKhamBenhToaThuoc] SET [ma] = @ma, [sophieu] = @sophieu, [mabenhnhan] = @mabenhnhan, [mathuoc] = @mathuoc, [tenthuoc] = @tenthuoc, [dvt] = @dvt, [cachdung] = @cachdung, [landung] = @landung, [luongdung] = @luongdung, [dvdung] = @dvdung, [ghichu] = @ghichu, [dongia] = @dongia, [thanhtien] = @thanhtien, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [soluong] = @soluong WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_mathuoc = 1 AND [mathuoc] IS NULL) OR ([mathuoc] = @Original_mathuoc)) AND ((@IsNull_tenthuoc = 1 AND [tenthuoc] IS NULL) OR ([tenthuoc] = @Original_tenthuoc)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_cachdung = 1 AND [cachdung] IS NULL) OR ([cachdung] = @Original_cachdung)) AND ((@IsNull_landung = 1 AND [landung] IS NULL) OR ([landung] = @Original_landung)) AND ((@IsNull_luongdung = 1 AND [luongdung] IS NULL) OR ([luongdung] = @Original_luongdung)) AND ((@IsNull_dvdung = 1 AND [dvdung] IS NULL) OR ([dvdung] = @Original_dvdung)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)));
SELECT ma, sophieu, mabenhnhan, mathuoc, tenthuoc, dvt, cachdung, landung, luongdung, dvdung, ghichu, dongia, thanhtien, tinhtrang, chinhanh, uid, id, soluong FROM PhieuKhamBenhToaThuoc WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenthuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cachdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenthuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenthuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenthuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cachdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cachdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cachdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_landung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="landung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_luongdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="luongdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dvdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenhToaThuoc" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="mathuoc" DataSetColumn="mathuoc" />
              <Mapping SourceColumn="tenthuoc" DataSetColumn="tenthuoc" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="cachdung" DataSetColumn="cachdung" />
              <Mapping SourceColumn="landung" DataSetColumn="landung" />
              <Mapping SourceColumn="luongdung" DataSetColumn="luongdung" />
              <Mapping SourceColumn="dvdung" DataSetColumn="dvdung" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="dongia" DataSetColumn="dongia" />
              <Mapping SourceColumn="thanhtien" DataSetColumn="thanhtien" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_ToaThuoc_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_ToaThuoc_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_ToaThuoc_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_ToaThuoc_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_ToaThuoc_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ToaThuocMauTableAdapter" GeneratorDataComponentClassName="ToaThuocMauTableAdapter" Name="ToaThuocMau" UserDataComponentName="ToaThuocMauTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.ToaThuocMau" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ToaThuocMau] WHERE (([ma] = @Original_ma) AND ((@IsNull_sotoathuoc = 1 AND [sotoathuoc] IS NULL) OR ([sotoathuoc] = @Original_sotoathuoc)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_benh = 1 AND [benh] IS NULL) OR ([benh] = @Original_benh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotoathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_benh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_benh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ToaThuocMau] ([ma], [sotoathuoc], [bacsi], [benh], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @sotoathuoc, @bacsi, @benh, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, sotoathuoc, bacsi, benh, ghichu, tinhtrang, chinhanh, id FROM ToaThuocMau WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@benh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sotoathuoc, bacsi, benh, ghichu, tinhtrang, chinhanh, id FROM dbo.ToaThuocMau</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ToaThuocMau] SET [ma] = @ma, [sotoathuoc] = @sotoathuoc, [bacsi] = @bacsi, [benh] = @benh, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_sotoathuoc = 1 AND [sotoathuoc] IS NULL) OR ([sotoathuoc] = @Original_sotoathuoc)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_benh = 1 AND [benh] IS NULL) OR ([benh] = @Original_benh)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, sotoathuoc, bacsi, benh, ghichu, tinhtrang, chinhanh, id FROM ToaThuocMau WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@benh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotoathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_benh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_benh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.ToaThuocMau" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sotoathuoc" DataSetColumn="sotoathuoc" />
              <Mapping SourceColumn="bacsi" DataSetColumn="bacsi" />
              <Mapping SourceColumn="benh" DataSetColumn="benh" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_ToaThuocMau" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_ToaThuocMau</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ToaThuocMauChiTietTableAdapter" GeneratorDataComponentClassName="ToaThuocMauChiTietTableAdapter" Name="ToaThuocMauChiTiet" UserDataComponentName="ToaThuocMauChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.ToaThuocMauChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ToaThuocMauChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_sotoathuoc = 1 AND [sotoathuoc] IS NULL) OR ([sotoathuoc] = @Original_sotoathuoc)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotoathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ToaThuocMauChiTiet] ([ma], [sotoathuoc], [mahang], [tenhang], [dvt], [soluong], [ghichu], [chinhanh], [uid]) VALUES (@ma, @sotoathuoc, @mahang, @tenhang, @dvt, @soluong, @ghichu, @chinhanh, @uid);
SELECT ma, sotoathuoc, mahang, tenhang, dvt, soluong, ghichu, chinhanh, uid, id FROM ToaThuocMauChiTiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sotoathuoc, mahang, tenhang, dvt, soluong, ghichu, chinhanh, uid, id FROM dbo.ToaThuocMauChiTiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ToaThuocMauChiTiet] SET [ma] = @ma, [sotoathuoc] = @sotoathuoc, [mahang] = @mahang, [tenhang] = @tenhang, [dvt] = @dvt, [soluong] = @soluong, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_sotoathuoc = 1 AND [sotoathuoc] IS NULL) OR ([sotoathuoc] = @Original_sotoathuoc)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, sotoathuoc, mahang, tenhang, dvt, soluong, ghichu, chinhanh, uid, id FROM ToaThuocMauChiTiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotoathuoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotoathuoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotoathuoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.ToaThuocMauChiTiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sotoathuoc" DataSetColumn="sotoathuoc" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_ToaThuocMauChiTiet" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_ToaThuocMauChiTiet</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMHangHoaTableAdapter" GeneratorDataComponentClassName="DMHangHoaTableAdapter" Name="DMHangHoa" UserDataComponentName="DMHangHoaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMHangHoa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [DMHangHoa] WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_manhom = 1 AND [manhom] IS NULL) OR ([manhom] = @Original_manhom)) AND ((@IsNull_loaihh = 1 AND [loaihh] IS NULL) OR ([loaihh] = @Original_loaihh)) AND ((@IsNull_thuevat = 1 AND [thuevat] IS NULL) OR ([thuevat] = @Original_thuevat)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_tonkhotoithieu = 1 AND [tonkhotoithieu] IS NULL) OR ([tonkhotoithieu] = @Original_tonkhotoithieu)) AND ((@IsNull_tonkhotoida = 1 AND [tonkhotoida] IS NULL) OR ([tonkhotoida] = @Original_tonkhotoida)) AND ((@IsNull_canhbaohandung = 1 AND [canhbaohandung] IS NULL) OR ([canhbaohandung] = @Original_canhbaohandung)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ([id] = @Original_id) AND ((@IsNull_madvt = 1 AND [madvt] IS NULL) OR ([madvt] = @Original_madvt)) AND ((@IsNull_dvt1 = 1 AND [dvt1] IS NULL) OR ([dvt1] = @Original_dvt1)) AND ((@IsNull_dvt2 = 1 AND [dvt2] IS NULL) OR ([dvt2] = @Original_dvt2)) AND ((@IsNull_dvt3 = 1 AND [dvt3] IS NULL) OR ([dvt3] = @Original_dvt3)) AND ((@IsNull_dvt4 = 1 AND [dvt4] IS NULL) OR ([dvt4] = @Original_dvt4)) AND ((@IsNull_quidoi1 = 1 AND [quidoi1] IS NULL) OR ([quidoi1] = @Original_quidoi1)) AND ((@IsNull_quidoi2 = 1 AND [quidoi2] IS NULL) OR ([quidoi2] = @Original_quidoi2)) AND ((@IsNull_quidoi3 = 1 AND [quidoi3] IS NULL) OR ([quidoi3] = @Original_quidoi3)) AND ((@IsNull_quidoi4 = 1 AND [quidoi4] IS NULL) OR ([quidoi4] = @Original_quidoi4)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tonkhotoithieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tonkhotoithieu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tonkhotoida" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tonkhotoida" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi3" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi4" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [DMHangHoa] ([ma], [ten], [manhom], [loaihh], [thuevat], [donvitinh], [tonkhotoithieu], [tonkhotoida], [canhbaohandung], [chinhanh], [tinhtrang], [madvt], [dvt1], [dvt2], [dvt3], [dvt4], [quidoi1], [quidoi2], [quidoi3], [quidoi4], [quicach]) VALUES (@ma, @ten, @manhom, @loaihh, @thuevat, @donvitinh, @tonkhotoithieu, @tonkhotoida, @canhbaohandung, @chinhanh, @tinhtrang, @madvt, @dvt1, @dvt2, @dvt3, @dvt4, @quidoi1, @quidoi2, @quidoi3, @quidoi4, @quicach);
SELECT ma, ten, manhom, loaihh, thuevat, donvitinh, tonkhotoithieu, tonkhotoida, canhbaohandung, chinhanh, tinhtrang, id, madvt, dvt1, dvt2, dvt3, dvt4, quidoi1, quidoi2, quidoi3, quidoi4, quicach FROM DMHangHoa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tonkhotoithieu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tonkhotoida" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi3" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi4" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, manhom, loaihh, thuevat, donvitinh, tonkhotoithieu, tonkhotoida, canhbaohandung, chinhanh, tinhtrang, id, madvt, dvt1, dvt2, dvt3, dvt4, quidoi1, quidoi2, quidoi3, quidoi4, quicach FROM DMHangHoa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [DMHangHoa] SET [ma] = @ma, [ten] = @ten, [manhom] = @manhom, [loaihh] = @loaihh, [thuevat] = @thuevat, [donvitinh] = @donvitinh, [tonkhotoithieu] = @tonkhotoithieu, [tonkhotoida] = @tonkhotoida, [canhbaohandung] = @canhbaohandung, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang, [madvt] = @madvt, [dvt1] = @dvt1, [dvt2] = @dvt2, [dvt3] = @dvt3, [dvt4] = @dvt4, [quidoi1] = @quidoi1, [quidoi2] = @quidoi2, [quidoi3] = @quidoi3, [quidoi4] = @quidoi4, [quicach] = @quicach WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_manhom = 1 AND [manhom] IS NULL) OR ([manhom] = @Original_manhom)) AND ((@IsNull_loaihh = 1 AND [loaihh] IS NULL) OR ([loaihh] = @Original_loaihh)) AND ((@IsNull_thuevat = 1 AND [thuevat] IS NULL) OR ([thuevat] = @Original_thuevat)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_tonkhotoithieu = 1 AND [tonkhotoithieu] IS NULL) OR ([tonkhotoithieu] = @Original_tonkhotoithieu)) AND ((@IsNull_tonkhotoida = 1 AND [tonkhotoida] IS NULL) OR ([tonkhotoida] = @Original_tonkhotoida)) AND ((@IsNull_canhbaohandung = 1 AND [canhbaohandung] IS NULL) OR ([canhbaohandung] = @Original_canhbaohandung)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ([id] = @Original_id) AND ((@IsNull_madvt = 1 AND [madvt] IS NULL) OR ([madvt] = @Original_madvt)) AND ((@IsNull_dvt1 = 1 AND [dvt1] IS NULL) OR ([dvt1] = @Original_dvt1)) AND ((@IsNull_dvt2 = 1 AND [dvt2] IS NULL) OR ([dvt2] = @Original_dvt2)) AND ((@IsNull_dvt3 = 1 AND [dvt3] IS NULL) OR ([dvt3] = @Original_dvt3)) AND ((@IsNull_dvt4 = 1 AND [dvt4] IS NULL) OR ([dvt4] = @Original_dvt4)) AND ((@IsNull_quidoi1 = 1 AND [quidoi1] IS NULL) OR ([quidoi1] = @Original_quidoi1)) AND ((@IsNull_quidoi2 = 1 AND [quidoi2] IS NULL) OR ([quidoi2] = @Original_quidoi2)) AND ((@IsNull_quidoi3 = 1 AND [quidoi3] IS NULL) OR ([quidoi3] = @Original_quidoi3)) AND ((@IsNull_quidoi4 = 1 AND [quidoi4] IS NULL) OR ([quidoi4] = @Original_quidoi4)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)));
SELECT ma, ten, manhom, loaihh, thuevat, donvitinh, tonkhotoithieu, tonkhotoida, canhbaohandung, chinhanh, tinhtrang, id, madvt, dvt1, dvt2, dvt3, dvt4, quidoi1, quidoi2, quidoi3, quidoi4, quicach FROM DMHangHoa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tonkhotoithieu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tonkhotoida" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi3" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoi4" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manhom" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manhom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manhom" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuevat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thuevat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thuevat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tonkhotoithieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tonkhotoithieu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoithieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tonkhotoida" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tonkhotoida" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tonkhotoida" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_canhbaohandung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="canhbaohandung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt4" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi2" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi2" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi3" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi3" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoi4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoi4" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoi4" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.DMHangHoa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="manhom" DataSetColumn="manhom" />
              <Mapping SourceColumn="loaihh" DataSetColumn="loaihh" />
              <Mapping SourceColumn="thuevat" DataSetColumn="thuevat" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="tonkhotoithieu" DataSetColumn="tonkhotoithieu" />
              <Mapping SourceColumn="tonkhotoida" DataSetColumn="tonkhotoida" />
              <Mapping SourceColumn="canhbaohandung" DataSetColumn="canhbaohandung" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="madvt" DataSetColumn="madvt" />
              <Mapping SourceColumn="dvt1" DataSetColumn="dvt1" />
              <Mapping SourceColumn="quidoi1" DataSetColumn="quidoi1" />
              <Mapping SourceColumn="dvt2" DataSetColumn="dvt2" />
              <Mapping SourceColumn="quidoi2" DataSetColumn="quidoi2" />
              <Mapping SourceColumn="dvt3" DataSetColumn="dvt3" />
              <Mapping SourceColumn="quidoi3" DataSetColumn="quidoi3" />
              <Mapping SourceColumn="dvt4" DataSetColumn="dvt4" />
              <Mapping SourceColumn="quidoi4" DataSetColumn="quidoi4" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMHangHoa_DonViTinhTableAdapter" GeneratorDataComponentClassName="DMHangHoa_DonViTinhTableAdapter" Name="DMHangHoa_DonViTinh" UserDataComponentName="DMHangHoa_DonViTinhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMHangHoa_DonViTinh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [DMHangHoa_DonViTinh] WHERE (([ma] = @Original_ma) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_tendvt = 1 AND [tendvt] IS NULL) OR ([tendvt] = @Original_tendvt)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_dvtmacdinh = 1 AND [dvtmacdinh] IS NULL) OR ([dvtmacdinh] = @Original_dvtmacdinh)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtmacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [DMHangHoa_DonViTinh] ([ma], [heso], [dvt], [tendvt], [tinhtrang], [chinhanh], [uid], [dvtmacdinh]) VALUES (@ma, @heso, @dvt, @tendvt, @tinhtrang, @chinhanh, @uid, @dvtmacdinh);
SELECT ma, heso, dvt, tendvt, tinhtrang, chinhanh, uid, id, dvtmacdinh FROM DMHangHoa_DonViTinh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, heso, dvt, tendvt, tinhtrang, chinhanh, uid, id, dvtmacdinh FROM DMHangHoa_DonViTinh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [DMHangHoa_DonViTinh] SET [ma] = @ma, [heso] = @heso, [dvt] = @dvt, [tendvt] = @tendvt, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [dvtmacdinh] = @dvtmacdinh WHERE (([ma] = @Original_ma) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_tendvt = 1 AND [tendvt] IS NULL) OR ([tendvt] = @Original_tendvt)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_dvtmacdinh = 1 AND [dvtmacdinh] IS NULL) OR ([dvtmacdinh] = @Original_dvtmacdinh)));
SELECT ma, heso, dvt, tendvt, tinhtrang, chinhanh, uid, id, dvtmacdinh FROM DMHangHoa_DonViTinh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtmacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.DMHangHoa_DonViTinh" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="heso" DataSetColumn="heso" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="tendvt" DataSetColumn="tendvt" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="dvtmacdinh" DataSetColumn="dvtmacdinh" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TiepNhanBenhNhanTableAdapter" GeneratorDataComponentClassName="TiepNhanBenhNhanTableAdapter" Name="TiepNhanBenhNhan" UserDataComponentName="TiepNhanBenhNhanTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.TiepNhanBenhNhan" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TiepNhanBenhNhan] WHERE (([ma] = @Original_ma) AND ((@IsNull_sotiepnhan = 1 AND [sotiepnhan] IS NULL) OR ([sotiepnhan] = @Original_sotiepnhan)) AND ((@IsNull_ngaytiepnhan = 1 AND [ngaytiepnhan] IS NULL) OR ([ngaytiepnhan] = @Original_ngaytiepnhan)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_ngaythangnamsinh = 1 AND [ngaythangnamsinh] IS NULL) OR ([ngaythangnamsinh] = @Original_ngaythangnamsinh)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_ngaysinh = 1 AND [ngaysinh] IS NULL) OR ([ngaysinh] = @Original_ngaysinh)) AND ((@IsNull_thangsinh = 1 AND [thangsinh] IS NULL) OR ([thangsinh] = @Original_thangsinh)) AND ((@IsNull_namsinh = 1 AND [namsinh] IS NULL) OR ([namsinh] = @Original_namsinh)) AND ((@IsNull_noicongtac = 1 AND [noicongtac] IS NULL) OR ([noicongtac] = @Original_noicongtac)) AND ((@IsNull_dantoc = 1 AND [dantoc] IS NULL) OR ([dantoc] = @Original_dantoc)) AND ((@IsNull_nghenghiep = 1 AND [nghenghiep] IS NULL) OR ([nghenghiep] = @Original_nghenghiep)) AND ((@IsNull_quocgia = 1 AND [quocgia] IS NULL) OR ([quocgia] = @Original_quocgia)) AND ((@IsNull_tinhthanh = 1 AND [tinhthanh] IS NULL) OR ([tinhthanh] = @Original_tinhthanh)) AND ((@IsNull_quanhuyen = 1 AND [quanhuyen] IS NULL) OR ([quanhuyen] = @Original_quanhuyen)) AND ((@IsNull_phuongxa = 1 AND [phuongxa] IS NULL) OR ([phuongxa] = @Original_phuongxa)) AND ((@IsNull_thonphoduong = 1 AND [thonphoduong] IS NULL) OR ([thonphoduong] = @Original_thonphoduong)) AND ((@IsNull_sonha = 1 AND [sonha] IS NULL) OR ([sonha] = @Original_sonha)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_loaibenhnhan = 1 AND [loaibenhnhan] IS NULL) OR ([loaibenhnhan] = @Original_loaibenhnhan)) AND ((@IsNull_traituyen = 1 AND [traituyen] IS NULL) OR ([traituyen] = @Original_traituyen)) AND ((@IsNull_uutien = 1 AND [uutien] IS NULL) OR ([uutien] = @Original_uutien)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_noigioithieu = 1 AND [noigioithieu] IS NULL) OR ([noigioithieu] = @Original_noigioithieu)) AND ((@IsNull_chandoansobo = 1 AND [chandoansobo] IS NULL) OR ([chandoansobo] = @Original_chandoansobo)) AND ((@IsNull_lydokham = 1 AND [lydokham] IS NULL) OR ([lydokham] = @Original_lydokham)) AND ((@IsNull_chonkham = 1 AND [chonkham] IS NULL) OR ([chonkham] = @Original_chonkham)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_phong = 1 AND [phong] IS NULL) OR ([phong] = @Original_phong)) AND ((@IsNull_ngaykhamgannhat = 1 AND [ngaykhamgannhat] IS NULL) OR ([ngaykhamgannhat] = @Original_ngaykhamgannhat)) AND ((@IsNull_solanden = 1 AND [solanden] IS NULL) OR ([solanden] = @Original_solanden)) AND ((@IsNull_solannamvien = 1 AND [solannamvien] IS NULL) OR ([solannamvien] = @Original_solannamvien)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayhethan = 1 AND [ngayhethan] IS NULL) OR ([ngayhethan] = @Original_ngayhethan)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytiepnhan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythangnamsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythangnamsinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noicongtac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noicongtac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dantoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dantoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghenghiep" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghenghiep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quocgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhthanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quanhuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongxa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongxa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thonphoduong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thonphoduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sonha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sonha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaibenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaibenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_traituyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_traituyen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uutien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_uutien" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noigioithieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noigioithieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoansobo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydokham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydokham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chonkham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chonkham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaykhamgannhat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaykhamgannhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TiepNhanBenhNhan] ([ma], [sotiepnhan], [ngaytiepnhan], [mabenhnhan], [ten], [gioitinh], [ngaythangnamsinh], [tuoi], [ngaysinh], [thangsinh], [namsinh], [noicongtac], [dantoc], [nghenghiep], [quocgia], [tinhthanh], [quanhuyen], [phuongxa], [thonphoduong], [sonha], [diachi], [loaibenhnhan], [traituyen], [uutien], [dienthoai], [email], [noigioithieu], [chandoansobo], [lydokham], [chonkham], [bacsi], [phong], [ngaykhamgannhat], [solanden], [solannamvien], [sobhyt], [ngaybatdau], [ngayhethan], [ghichu], [tinhtrang], [chinhanh]) VALUES (@ma, @sotiepnhan, @ngaytiepnhan, @mabenhnhan, @ten, @gioitinh, @ngaythangnamsinh, @tuoi, @ngaysinh, @thangsinh, @namsinh, @noicongtac, @dantoc, @nghenghiep, @quocgia, @tinhthanh, @quanhuyen, @phuongxa, @thonphoduong, @sonha, @diachi, @loaibenhnhan, @traituyen, @uutien, @dienthoai, @email, @noigioithieu, @chandoansobo, @lydokham, @chonkham, @bacsi, @phong, @ngaykhamgannhat, @solanden, @solannamvien, @sobhyt, @ngaybatdau, @ngayhethan, @ghichu, @tinhtrang, @chinhanh);
SELECT ma, sotiepnhan, ngaytiepnhan, mabenhnhan, ten, gioitinh, ngaythangnamsinh, tuoi, ngaysinh, thangsinh, namsinh, noicongtac, dantoc, nghenghiep, quocgia, tinhthanh, quanhuyen, phuongxa, thonphoduong, sonha, diachi, loaibenhnhan, traituyen, uutien, dienthoai, email, noigioithieu, chandoansobo, lydokham, chonkham, bacsi, phong, ngaykhamgannhat, solanden, solannamvien, sobhyt, ngaybatdau, ngayhethan, ghichu, tinhtrang, chinhanh, id FROM TiepNhanBenhNhan WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytiepnhan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythangnamsinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noicongtac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dantoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghenghiep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongxa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thonphoduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sonha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaibenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@traituyen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@uutien" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noigioithieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydokham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chonkham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaykhamgannhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sotiepnhan, ngaytiepnhan, mabenhnhan, ten, gioitinh, ngaythangnamsinh, tuoi, ngaysinh, thangsinh, namsinh, noicongtac, dantoc, nghenghiep, quocgia, tinhthanh, quanhuyen, phuongxa, thonphoduong, sonha, diachi, loaibenhnhan, traituyen, uutien, dienthoai, email, noigioithieu, chandoansobo, lydokham, chonkham, bacsi, phong, ngaykhamgannhat, solanden, solannamvien, sobhyt, ngaybatdau, ngayhethan, ghichu, tinhtrang, chinhanh, id FROM dbo.TiepNhanBenhNhan</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TiepNhanBenhNhan] SET [ma] = @ma, [sotiepnhan] = @sotiepnhan, [ngaytiepnhan] = @ngaytiepnhan, [mabenhnhan] = @mabenhnhan, [ten] = @ten, [gioitinh] = @gioitinh, [ngaythangnamsinh] = @ngaythangnamsinh, [tuoi] = @tuoi, [ngaysinh] = @ngaysinh, [thangsinh] = @thangsinh, [namsinh] = @namsinh, [noicongtac] = @noicongtac, [dantoc] = @dantoc, [nghenghiep] = @nghenghiep, [quocgia] = @quocgia, [tinhthanh] = @tinhthanh, [quanhuyen] = @quanhuyen, [phuongxa] = @phuongxa, [thonphoduong] = @thonphoduong, [sonha] = @sonha, [diachi] = @diachi, [loaibenhnhan] = @loaibenhnhan, [traituyen] = @traituyen, [uutien] = @uutien, [dienthoai] = @dienthoai, [email] = @email, [noigioithieu] = @noigioithieu, [chandoansobo] = @chandoansobo, [lydokham] = @lydokham, [chonkham] = @chonkham, [bacsi] = @bacsi, [phong] = @phong, [ngaykhamgannhat] = @ngaykhamgannhat, [solanden] = @solanden, [solannamvien] = @solannamvien, [sobhyt] = @sobhyt, [ngaybatdau] = @ngaybatdau, [ngayhethan] = @ngayhethan, [ghichu] = @ghichu, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_sotiepnhan = 1 AND [sotiepnhan] IS NULL) OR ([sotiepnhan] = @Original_sotiepnhan)) AND ((@IsNull_ngaytiepnhan = 1 AND [ngaytiepnhan] IS NULL) OR ([ngaytiepnhan] = @Original_ngaytiepnhan)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_gioitinh = 1 AND [gioitinh] IS NULL) OR ([gioitinh] = @Original_gioitinh)) AND ((@IsNull_ngaythangnamsinh = 1 AND [ngaythangnamsinh] IS NULL) OR ([ngaythangnamsinh] = @Original_ngaythangnamsinh)) AND ((@IsNull_tuoi = 1 AND [tuoi] IS NULL) OR ([tuoi] = @Original_tuoi)) AND ((@IsNull_ngaysinh = 1 AND [ngaysinh] IS NULL) OR ([ngaysinh] = @Original_ngaysinh)) AND ((@IsNull_thangsinh = 1 AND [thangsinh] IS NULL) OR ([thangsinh] = @Original_thangsinh)) AND ((@IsNull_namsinh = 1 AND [namsinh] IS NULL) OR ([namsinh] = @Original_namsinh)) AND ((@IsNull_noicongtac = 1 AND [noicongtac] IS NULL) OR ([noicongtac] = @Original_noicongtac)) AND ((@IsNull_dantoc = 1 AND [dantoc] IS NULL) OR ([dantoc] = @Original_dantoc)) AND ((@IsNull_nghenghiep = 1 AND [nghenghiep] IS NULL) OR ([nghenghiep] = @Original_nghenghiep)) AND ((@IsNull_quocgia = 1 AND [quocgia] IS NULL) OR ([quocgia] = @Original_quocgia)) AND ((@IsNull_tinhthanh = 1 AND [tinhthanh] IS NULL) OR ([tinhthanh] = @Original_tinhthanh)) AND ((@IsNull_quanhuyen = 1 AND [quanhuyen] IS NULL) OR ([quanhuyen] = @Original_quanhuyen)) AND ((@IsNull_phuongxa = 1 AND [phuongxa] IS NULL) OR ([phuongxa] = @Original_phuongxa)) AND ((@IsNull_thonphoduong = 1 AND [thonphoduong] IS NULL) OR ([thonphoduong] = @Original_thonphoduong)) AND ((@IsNull_sonha = 1 AND [sonha] IS NULL) OR ([sonha] = @Original_sonha)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_loaibenhnhan = 1 AND [loaibenhnhan] IS NULL) OR ([loaibenhnhan] = @Original_loaibenhnhan)) AND ((@IsNull_traituyen = 1 AND [traituyen] IS NULL) OR ([traituyen] = @Original_traituyen)) AND ((@IsNull_uutien = 1 AND [uutien] IS NULL) OR ([uutien] = @Original_uutien)) AND ((@IsNull_dienthoai = 1 AND [dienthoai] IS NULL) OR ([dienthoai] = @Original_dienthoai)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_noigioithieu = 1 AND [noigioithieu] IS NULL) OR ([noigioithieu] = @Original_noigioithieu)) AND ((@IsNull_chandoansobo = 1 AND [chandoansobo] IS NULL) OR ([chandoansobo] = @Original_chandoansobo)) AND ((@IsNull_lydokham = 1 AND [lydokham] IS NULL) OR ([lydokham] = @Original_lydokham)) AND ((@IsNull_chonkham = 1 AND [chonkham] IS NULL) OR ([chonkham] = @Original_chonkham)) AND ((@IsNull_bacsi = 1 AND [bacsi] IS NULL) OR ([bacsi] = @Original_bacsi)) AND ((@IsNull_phong = 1 AND [phong] IS NULL) OR ([phong] = @Original_phong)) AND ((@IsNull_ngaykhamgannhat = 1 AND [ngaykhamgannhat] IS NULL) OR ([ngaykhamgannhat] = @Original_ngaykhamgannhat)) AND ((@IsNull_solanden = 1 AND [solanden] IS NULL) OR ([solanden] = @Original_solanden)) AND ((@IsNull_solannamvien = 1 AND [solannamvien] IS NULL) OR ([solannamvien] = @Original_solannamvien)) AND ((@IsNull_sobhyt = 1 AND [sobhyt] IS NULL) OR ([sobhyt] = @Original_sobhyt)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayhethan = 1 AND [ngayhethan] IS NULL) OR ([ngayhethan] = @Original_ngayhethan)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, sotiepnhan, ngaytiepnhan, mabenhnhan, ten, gioitinh, ngaythangnamsinh, tuoi, ngaysinh, thangsinh, namsinh, noicongtac, dantoc, nghenghiep, quocgia, tinhthanh, quanhuyen, phuongxa, thonphoduong, sonha, diachi, loaibenhnhan, traituyen, uutien, dienthoai, email, noigioithieu, chandoansobo, lydokham, chonkham, bacsi, phong, ngaykhamgannhat, solanden, solannamvien, sobhyt, ngaybatdau, ngayhethan, ghichu, tinhtrang, chinhanh, id FROM TiepNhanBenhNhan WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaytiepnhan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythangnamsinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noicongtac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dantoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nghenghiep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongxa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thonphoduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sonha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaibenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@traituyen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@uutien" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noigioithieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydokham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chonkham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaykhamgannhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaytiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaytiepnhan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaytiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gioitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gioitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gioitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythangnamsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythangnamsinh" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythangnamsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tuoi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tuoi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ngaysinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaysinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thangsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thangsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_namsinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="namsinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noicongtac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noicongtac" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noicongtac" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dantoc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dantoc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dantoc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nghenghiep" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nghenghiep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nghenghiep" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quocgia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quocgia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quocgia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhthanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhthanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhthanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quanhuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quanhuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quanhuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongxa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongxa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongxa" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thonphoduong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thonphoduong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thonphoduong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sonha" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sonha" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sonha" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaibenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaibenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_traituyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_traituyen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="traituyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uutien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_uutien" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="uutien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dienthoai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dienthoai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dienthoai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noigioithieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noigioithieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noigioithieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoansobo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoansobo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoansobo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydokham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydokham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydokham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chonkham" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chonkham" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chonkham" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bacsi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_bacsi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="bacsi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaykhamgannhat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaykhamgannhat" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaykhamgannhat" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_solanden" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solanden" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_solannamvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="solannamvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sobhyt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sobhyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sobhyt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhethan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhethan" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhethan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.TiepNhanBenhNhan" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sotiepnhan" DataSetColumn="sotiepnhan" />
              <Mapping SourceColumn="ngaytiepnhan" DataSetColumn="ngaytiepnhan" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="gioitinh" DataSetColumn="gioitinh" />
              <Mapping SourceColumn="ngaythangnamsinh" DataSetColumn="ngaythangnamsinh" />
              <Mapping SourceColumn="tuoi" DataSetColumn="tuoi" />
              <Mapping SourceColumn="ngaysinh" DataSetColumn="ngaysinh" />
              <Mapping SourceColumn="thangsinh" DataSetColumn="thangsinh" />
              <Mapping SourceColumn="namsinh" DataSetColumn="namsinh" />
              <Mapping SourceColumn="noicongtac" DataSetColumn="noicongtac" />
              <Mapping SourceColumn="dantoc" DataSetColumn="dantoc" />
              <Mapping SourceColumn="nghenghiep" DataSetColumn="nghenghiep" />
              <Mapping SourceColumn="quocgia" DataSetColumn="quocgia" />
              <Mapping SourceColumn="tinhthanh" DataSetColumn="tinhthanh" />
              <Mapping SourceColumn="quanhuyen" DataSetColumn="quanhuyen" />
              <Mapping SourceColumn="phuongxa" DataSetColumn="phuongxa" />
              <Mapping SourceColumn="thonphoduong" DataSetColumn="thonphoduong" />
              <Mapping SourceColumn="sonha" DataSetColumn="sonha" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="loaibenhnhan" DataSetColumn="loaibenhnhan" />
              <Mapping SourceColumn="traituyen" DataSetColumn="traituyen" />
              <Mapping SourceColumn="uutien" DataSetColumn="uutien" />
              <Mapping SourceColumn="dienthoai" DataSetColumn="dienthoai" />
              <Mapping SourceColumn="email" DataSetColumn="email" />
              <Mapping SourceColumn="noigioithieu" DataSetColumn="noigioithieu" />
              <Mapping SourceColumn="chandoansobo" DataSetColumn="chandoansobo" />
              <Mapping SourceColumn="lydokham" DataSetColumn="lydokham" />
              <Mapping SourceColumn="chonkham" DataSetColumn="chonkham" />
              <Mapping SourceColumn="bacsi" DataSetColumn="bacsi" />
              <Mapping SourceColumn="phong" DataSetColumn="phong" />
              <Mapping SourceColumn="ngaykhamgannhat" DataSetColumn="ngaykhamgannhat" />
              <Mapping SourceColumn="solanden" DataSetColumn="solanden" />
              <Mapping SourceColumn="solannamvien" DataSetColumn="solannamvien" />
              <Mapping SourceColumn="sobhyt" DataSetColumn="sobhyt" />
              <Mapping SourceColumn="ngaybatdau" DataSetColumn="ngaybatdau" />
              <Mapping SourceColumn="ngayhethan" DataSetColumn="ngayhethan" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_TiepNhanBenhNhan" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_TiepNhanBenhNhan" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_TiepNhanBenhNhan" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_TiepNhanBenhNhan">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_TiepNhanBenhNhan</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TiepNhanBenhNhanDichVuTableAdapter" GeneratorDataComponentClassName="TiepNhanBenhNhanDichVuTableAdapter" Name="TiepNhanBenhNhanDichVu" UserDataComponentName="TiepNhanBenhNhanDichVuTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.TiepNhanBenhNhanDichVu" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TiepNhanBenhNhanDichVu] WHERE (([ma] = @Original_ma) AND ((@IsNull_sotiepnhan = 1 AND [sotiepnhan] IS NULL) OR ([sotiepnhan] = @Original_sotiepnhan)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_madichvu = 1 AND [madichvu] IS NULL) OR ([madichvu] = @Original_madichvu)) AND ((@IsNull_tendichvu = 1 AND [tendichvu] IS NULL) OR ([tendichvu] = @Original_tendichvu)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)) AND ((@IsNull_baohiemchi = 1 AND [baohiemchi] IS NULL) OR ([baohiemchi] = @Original_baohiemchi)) AND ((@IsNull_noithuchien = 1 AND [noithuchien] IS NULL) OR ([noithuchien] = @Original_noithuchien)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baohiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noithuchien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TiepNhanBenhNhanDichVu] ([ma], [sotiepnhan], [mabenhnhan], [madichvu], [tendichvu], [donvitinh], [soluong], [dongia], [thanhtien], [baohiemchi], [noithuchien], [ghichu], [chinhanh], [uid]) VALUES (@ma, @sotiepnhan, @mabenhnhan, @madichvu, @tendichvu, @donvitinh, @soluong, @dongia, @thanhtien, @baohiemchi, @noithuchien, @ghichu, @chinhanh, @uid);
SELECT ma, sotiepnhan, mabenhnhan, madichvu, tendichvu, donvitinh, soluong, dongia, thanhtien, baohiemchi, noithuchien, ghichu, chinhanh, uid, id FROM TiepNhanBenhNhanDichVu WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sotiepnhan, mabenhnhan, madichvu, tendichvu, donvitinh, soluong, dongia, thanhtien, baohiemchi, noithuchien, ghichu, chinhanh, uid, id FROM TiepNhanBenhNhanDichVu</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TiepNhanBenhNhanDichVu] SET [ma] = @ma, [sotiepnhan] = @sotiepnhan, [mabenhnhan] = @mabenhnhan, [madichvu] = @madichvu, [tendichvu] = @tendichvu, [donvitinh] = @donvitinh, [soluong] = @soluong, [dongia] = @dongia, [thanhtien] = @thanhtien, [baohiemchi] = @baohiemchi, [noithuchien] = @noithuchien, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_sotiepnhan = 1 AND [sotiepnhan] IS NULL) OR ([sotiepnhan] = @Original_sotiepnhan)) AND ((@IsNull_mabenhnhan = 1 AND [mabenhnhan] IS NULL) OR ([mabenhnhan] = @Original_mabenhnhan)) AND ((@IsNull_madichvu = 1 AND [madichvu] IS NULL) OR ([madichvu] = @Original_madichvu)) AND ((@IsNull_tendichvu = 1 AND [tendichvu] IS NULL) OR ([tendichvu] = @Original_tendichvu)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_dongia = 1 AND [dongia] IS NULL) OR ([dongia] = @Original_dongia)) AND ((@IsNull_thanhtien = 1 AND [thanhtien] IS NULL) OR ([thanhtien] = @Original_thanhtien)) AND ((@IsNull_baohiemchi = 1 AND [baohiemchi] IS NULL) OR ([baohiemchi] = @Original_baohiemchi)) AND ((@IsNull_noithuchien = 1 AND [noithuchien] IS NULL) OR ([noithuchien] = @Original_noithuchien)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, sotiepnhan, mabenhnhan, madichvu, tendichvu, donvitinh, soluong, dongia, thanhtien, baohiemchi, noithuchien, ghichu, chinhanh, uid, id FROM TiepNhanBenhNhanDichVu WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sotiepnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sotiepnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sotiepnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabenhnhan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabenhnhan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabenhnhan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendichvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendichvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendichvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baohiemchi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_baohiemchi" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="baohiemchi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noithuchien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noithuchien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noithuchien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.TiepNhanBenhNhanDichVu" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sotiepnhan" DataSetColumn="sotiepnhan" />
              <Mapping SourceColumn="mabenhnhan" DataSetColumn="mabenhnhan" />
              <Mapping SourceColumn="madichvu" DataSetColumn="madichvu" />
              <Mapping SourceColumn="tendichvu" DataSetColumn="tendichvu" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="dongia" DataSetColumn="dongia" />
              <Mapping SourceColumn="thanhtien" DataSetColumn="thanhtien" />
              <Mapping SourceColumn="baohiemchi" DataSetColumn="baohiemchi" />
              <Mapping SourceColumn="noithuchien" DataSetColumn="noithuchien" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_TiepNhanBenhNhanDichVu" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_TiepNhanBenhNhanDichVu" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_TiepNhanBenhNhanDichVu" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_TiepNhanBenhNhanDichVu">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_TiepNhanBenhNhanDichVu</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhChuyenKhoaTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhChuyenKhoaTableAdapter" Name="PhieuKhamBenhChuyenKhoa" UserDataComponentName="PhieuKhamBenhChuyenKhoaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenhChuyenKhoa" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PhieuKhamBenhChuyenKhoa] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_maphong = 1 AND [maphong] IS NULL) OR ([maphong] = @Original_maphong)) AND ((@IsNull_tenphong = 1 AND [tenphong] IS NULL) OR ([tenphong] = @Original_tenphong)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenphong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PhieuKhamBenhChuyenKhoa] ([ma], [sophieu], [maphong], [tenphong], [ghichu], [chinhanh], [uid]) VALUES (@ma, @sophieu, @maphong, @tenphong, @ghichu, @chinhanh, @uid);
SELECT ma, sophieu, maphong, tenphong, ghichu, chinhanh, uid, id FROM PhieuKhamBenhChuyenKhoa WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, maphong, tenphong, ghichu, chinhanh, uid, id FROM dbo.PhieuKhamBenhChuyenKhoa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PhieuKhamBenhChuyenKhoa] SET [ma] = @ma, [sophieu] = @sophieu, [maphong] = @maphong, [tenphong] = @tenphong, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_maphong = 1 AND [maphong] IS NULL) OR ([maphong] = @Original_maphong)) AND ((@IsNull_tenphong = 1 AND [tenphong] IS NULL) OR ([tenphong] = @Original_tenphong)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, sophieu, maphong, tenphong, ghichu, chinhanh, uid, id FROM PhieuKhamBenhChuyenKhoa WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@maphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maphong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_maphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="maphong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenphong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenphong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenphong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenhChuyenKhoa" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="maphong" DataSetColumn="maphong" />
              <Mapping SourceColumn="tenphong" DataSetColumn="tenphong" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChuyenKhoa_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_PhieuChuyenKhoa_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChuyenKhoa_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhChuyenVienTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhChuyenVienTableAdapter" Name="PhieuKhamBenhChuyenVien" UserDataComponentName="PhieuKhamBenhChuyenVienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenhChuyenVien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PhieuKhamBenhChuyenVien] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_benhvien = 1 AND [benhvien] IS NULL) OR ([benhvien] = @Original_benhvien)) AND ((@IsNull_tenbenhvien = 1 AND [tenbenhvien] IS NULL) OR ([tenbenhvien] = @Original_tenbenhvien)) AND ((@IsNull_diachibenhvien = 1 AND [diachibenhvien] IS NULL) OR ([diachibenhvien] = @Original_diachibenhvien)) AND ((@IsNull_dauhieulamsang = 1 AND [dauhieulamsang] IS NULL) OR ([dauhieulamsang] = @Original_dauhieulamsang)) AND ((@IsNull_cacxetnghiem = 1 AND [cacxetnghiem] IS NULL) OR ([cacxetnghiem] = @Original_cacxetnghiem)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_thuocdadung = 1 AND [thuocdadung] IS NULL) OR ([thuocdadung] = @Original_thuocdadung)) AND ((@IsNull_tinhtrangnguoibenh = 1 AND [tinhtrangnguoibenh] IS NULL) OR ([tinhtrangnguoibenh] = @Original_tinhtrangnguoibenh)) AND ((@IsNull_lydochuyenvien = 1 AND [lydochuyenvien] IS NULL) OR ([lydochuyenvien] = @Original_lydochuyenvien)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_nguoiduadi = 1 AND [nguoiduadi] IS NULL) OR ([nguoiduadi] = @Original_nguoiduadi)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_benhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_benhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachibenhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachibenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dauhieulamsang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dauhieulamsang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cacxetnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cacxetnghiem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuocdadung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrangnguoibenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrangnguoibenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydochuyenvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydochuyenvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoiduadi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoiduadi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PhieuKhamBenhChuyenVien] ([ma], [sophieu], [benhvien], [tenbenhvien], [diachibenhvien], [dauhieulamsang], [cacxetnghiem], [chandoan], [thuocdadung], [tinhtrangnguoibenh], [lydochuyenvien], [phuongtienvanchuyen], [nguoiduadi], [uid]) VALUES (@ma, @sophieu, @benhvien, @tenbenhvien, @diachibenhvien, @dauhieulamsang, @cacxetnghiem, @chandoan, @thuocdadung, @tinhtrangnguoibenh, @lydochuyenvien, @phuongtienvanchuyen, @nguoiduadi, @uid);
SELECT ma, sophieu, benhvien, tenbenhvien, diachibenhvien, dauhieulamsang, cacxetnghiem, chandoan, thuocdadung, tinhtrangnguoibenh, lydochuyenvien, phuongtienvanchuyen, nguoiduadi, uid, id FROM PhieuKhamBenhChuyenVien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@benhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachibenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dauhieulamsang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cacxetnghiem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrangnguoibenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydochuyenvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoiduadi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, benhvien, tenbenhvien, diachibenhvien, dauhieulamsang, cacxetnghiem, chandoan, thuocdadung, tinhtrangnguoibenh, lydochuyenvien, phuongtienvanchuyen, nguoiduadi, uid, id FROM dbo.PhieuKhamBenhChuyenVien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PhieuKhamBenhChuyenVien] SET [ma] = @ma, [sophieu] = @sophieu, [benhvien] = @benhvien, [tenbenhvien] = @tenbenhvien, [diachibenhvien] = @diachibenhvien, [dauhieulamsang] = @dauhieulamsang, [cacxetnghiem] = @cacxetnghiem, [chandoan] = @chandoan, [thuocdadung] = @thuocdadung, [tinhtrangnguoibenh] = @tinhtrangnguoibenh, [lydochuyenvien] = @lydochuyenvien, [phuongtienvanchuyen] = @phuongtienvanchuyen, [nguoiduadi] = @nguoiduadi, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_benhvien = 1 AND [benhvien] IS NULL) OR ([benhvien] = @Original_benhvien)) AND ((@IsNull_tenbenhvien = 1 AND [tenbenhvien] IS NULL) OR ([tenbenhvien] = @Original_tenbenhvien)) AND ((@IsNull_diachibenhvien = 1 AND [diachibenhvien] IS NULL) OR ([diachibenhvien] = @Original_diachibenhvien)) AND ((@IsNull_dauhieulamsang = 1 AND [dauhieulamsang] IS NULL) OR ([dauhieulamsang] = @Original_dauhieulamsang)) AND ((@IsNull_cacxetnghiem = 1 AND [cacxetnghiem] IS NULL) OR ([cacxetnghiem] = @Original_cacxetnghiem)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_thuocdadung = 1 AND [thuocdadung] IS NULL) OR ([thuocdadung] = @Original_thuocdadung)) AND ((@IsNull_tinhtrangnguoibenh = 1 AND [tinhtrangnguoibenh] IS NULL) OR ([tinhtrangnguoibenh] = @Original_tinhtrangnguoibenh)) AND ((@IsNull_lydochuyenvien = 1 AND [lydochuyenvien] IS NULL) OR ([lydochuyenvien] = @Original_lydochuyenvien)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_nguoiduadi = 1 AND [nguoiduadi] IS NULL) OR ([nguoiduadi] = @Original_nguoiduadi)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id));
SELECT ma, sophieu, benhvien, tenbenhvien, diachibenhvien, dauhieulamsang, cacxetnghiem, chandoan, thuocdadung, tinhtrangnguoibenh, lydochuyenvien, phuongtienvanchuyen, nguoiduadi, uid, id FROM PhieuKhamBenhChuyenVien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@benhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachibenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dauhieulamsang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cacxetnghiem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrangnguoibenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydochuyenvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoiduadi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_benhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_benhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="benhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbenhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbenhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachibenhvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachibenhvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachibenhvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dauhieulamsang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dauhieulamsang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cacxetnghiem" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cacxetnghiem" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cacxetnghiem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuocdadung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrangnguoibenh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrangnguoibenh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrangnguoibenh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydochuyenvien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydochuyenvien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydochuyenvien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoiduadi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoiduadi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduadi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenhChuyenVien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="benhvien" DataSetColumn="benhvien" />
              <Mapping SourceColumn="tenbenhvien" DataSetColumn="tenbenhvien" />
              <Mapping SourceColumn="diachibenhvien" DataSetColumn="diachibenhvien" />
              <Mapping SourceColumn="dauhieulamsang" DataSetColumn="dauhieulamsang" />
              <Mapping SourceColumn="cacxetnghiem" DataSetColumn="cacxetnghiem" />
              <Mapping SourceColumn="chandoan" DataSetColumn="chandoan" />
              <Mapping SourceColumn="thuocdadung" DataSetColumn="thuocdadung" />
              <Mapping SourceColumn="tinhtrangnguoibenh" DataSetColumn="tinhtrangnguoibenh" />
              <Mapping SourceColumn="lydochuyenvien" DataSetColumn="lydochuyenvien" />
              <Mapping SourceColumn="phuongtienvanchuyen" DataSetColumn="phuongtienvanchuyen" />
              <Mapping SourceColumn="nguoiduadi" DataSetColumn="nguoiduadi" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_PhieuChuyenVien_PhieuKhamBenh" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_PhieuChuyenVien_PhieuKhamBenh" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_PhieuChuyenVien_PhieuKhamBenh" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_PhieuChuyenVien_PhieuKhamBenh">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_PhieuChuyenVien_PhieuKhamBenh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PhieuKhamBenhNhapVienTableAdapter" GeneratorDataComponentClassName="PhieuKhamBenhNhapVienTableAdapter" Name="PhieuKhamBenhNhapVien" UserDataComponentName="PhieuKhamBenhNhapVienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.PhieuKhamBenhNhapVien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PhieuKhamBenhNhapVien] WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_lydovaovien = 1 AND [lydovaovien] IS NULL) OR ([lydovaovien] = @Original_lydovaovien)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_quatrinhbenhly = 1 AND [quatrinhbenhly] IS NULL) OR ([quatrinhbenhly] = @Original_quatrinhbenhly)) AND ((@IsNull_tiensubenhbanthan = 1 AND [tiensubenhbanthan] IS NULL) OR ([tiensubenhbanthan] = @Original_tiensubenhbanthan)) AND ((@IsNull_tiensubenhgiadinh = 1 AND [tiensubenhgiadinh] IS NULL) OR ([tiensubenhgiadinh] = @Original_tiensubenhgiadinh)) AND ((@IsNull_khamtoanthan = 1 AND [khamtoanthan] IS NULL) OR ([khamtoanthan] = @Original_khamtoanthan)) AND ((@IsNull_khambophan = 1 AND [khambophan] IS NULL) OR ([khambophan] = @Original_khambophan)) AND ((@IsNull_dauhieulamsan = 1 AND [dauhieulamsan] IS NULL) OR ([dauhieulamsan] = @Original_dauhieulamsan)) AND ((@IsNull_thuocdadung = 1 AND [thuocdadung] IS NULL) OR ([thuocdadung] = @Original_thuocdadung)) AND ((@IsNull_dieutritaikhoa = 1 AND [dieutritaikhoa] IS NULL) OR ([dieutritaikhoa] = @Original_dieutritaikhoa)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydovaovien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydovaovien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quatrinhbenhly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quatrinhbenhly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tiensubenhbanthan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiensubenhbanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tiensubenhgiadinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiensubenhgiadinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khamtoanthan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khamtoanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khambophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khambophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dauhieulamsan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dauhieulamsan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuocdadung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieutritaikhoa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieutritaikhoa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PhieuKhamBenhNhapVien] ([ma], [sophieu], [lydovaovien], [chandoan], [quatrinhbenhly], [tiensubenhbanthan], [tiensubenhgiadinh], [khamtoanthan], [khambophan], [dauhieulamsan], [thuocdadung], [dieutritaikhoa], [ghichu], [chinhanh], [uid]) VALUES (@ma, @sophieu, @lydovaovien, @chandoan, @quatrinhbenhly, @tiensubenhbanthan, @tiensubenhgiadinh, @khamtoanthan, @khambophan, @dauhieulamsan, @thuocdadung, @dieutritaikhoa, @ghichu, @chinhanh, @uid);
SELECT ma, sophieu, lydovaovien, chandoan, quatrinhbenhly, tiensubenhbanthan, tiensubenhgiadinh, khamtoanthan, khambophan, dauhieulamsan, thuocdadung, dieutritaikhoa, ghichu, chinhanh, uid, id FROM PhieuKhamBenhNhapVien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydovaovien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quatrinhbenhly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiensubenhbanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiensubenhgiadinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khamtoanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khambophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dauhieulamsan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieutritaikhoa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, sophieu, lydovaovien, chandoan, quatrinhbenhly, tiensubenhbanthan, tiensubenhgiadinh, khamtoanthan, khambophan, dauhieulamsan, thuocdadung, dieutritaikhoa, ghichu, chinhanh, uid, id FROM dbo.PhieuKhamBenhNhapVien</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PhieuKhamBenhNhapVien] SET [ma] = @ma, [sophieu] = @sophieu, [lydovaovien] = @lydovaovien, [chandoan] = @chandoan, [quatrinhbenhly] = @quatrinhbenhly, [tiensubenhbanthan] = @tiensubenhbanthan, [tiensubenhgiadinh] = @tiensubenhgiadinh, [khamtoanthan] = @khamtoanthan, [khambophan] = @khambophan, [dauhieulamsan] = @dauhieulamsan, [thuocdadung] = @thuocdadung, [dieutritaikhoa] = @dieutritaikhoa, [ghichu] = @ghichu, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_sophieu = 1 AND [sophieu] IS NULL) OR ([sophieu] = @Original_sophieu)) AND ((@IsNull_lydovaovien = 1 AND [lydovaovien] IS NULL) OR ([lydovaovien] = @Original_lydovaovien)) AND ((@IsNull_chandoan = 1 AND [chandoan] IS NULL) OR ([chandoan] = @Original_chandoan)) AND ((@IsNull_quatrinhbenhly = 1 AND [quatrinhbenhly] IS NULL) OR ([quatrinhbenhly] = @Original_quatrinhbenhly)) AND ((@IsNull_tiensubenhbanthan = 1 AND [tiensubenhbanthan] IS NULL) OR ([tiensubenhbanthan] = @Original_tiensubenhbanthan)) AND ((@IsNull_tiensubenhgiadinh = 1 AND [tiensubenhgiadinh] IS NULL) OR ([tiensubenhgiadinh] = @Original_tiensubenhgiadinh)) AND ((@IsNull_khamtoanthan = 1 AND [khamtoanthan] IS NULL) OR ([khamtoanthan] = @Original_khamtoanthan)) AND ((@IsNull_khambophan = 1 AND [khambophan] IS NULL) OR ([khambophan] = @Original_khambophan)) AND ((@IsNull_dauhieulamsan = 1 AND [dauhieulamsan] IS NULL) OR ([dauhieulamsan] = @Original_dauhieulamsan)) AND ((@IsNull_thuocdadung = 1 AND [thuocdadung] IS NULL) OR ([thuocdadung] = @Original_thuocdadung)) AND ((@IsNull_dieutritaikhoa = 1 AND [dieutritaikhoa] IS NULL) OR ([dieutritaikhoa] = @Original_dieutritaikhoa)) AND ((@IsNull_ghichu = 1 AND [ghichu] IS NULL) OR ([ghichu] = @Original_ghichu)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id));
SELECT ma, sophieu, lydovaovien, chandoan, quatrinhbenhly, tiensubenhbanthan, tiensubenhgiadinh, khamtoanthan, khambophan, dauhieulamsan, thuocdadung, dieutritaikhoa, ghichu, chinhanh, uid, id FROM PhieuKhamBenhNhapVien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lydovaovien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quatrinhbenhly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiensubenhbanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tiensubenhgiadinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khamtoanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khambophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dauhieulamsan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieutritaikhoa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sophieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sophieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sophieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lydovaovien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lydovaovien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lydovaovien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chandoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chandoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chandoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quatrinhbenhly" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quatrinhbenhly" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quatrinhbenhly" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tiensubenhbanthan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiensubenhbanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhbanthan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tiensubenhgiadinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tiensubenhgiadinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tiensubenhgiadinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khamtoanthan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khamtoanthan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khamtoanthan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khambophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khambophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khambophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dauhieulamsan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dauhieulamsan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dauhieulamsan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuocdadung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thuocdadung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thuocdadung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieutritaikhoa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieutritaikhoa" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieutritaikhoa" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ghichu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ghichu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ghichu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.PhieuKhamBenhNhapVien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="sophieu" DataSetColumn="sophieu" />
              <Mapping SourceColumn="lydovaovien" DataSetColumn="lydovaovien" />
              <Mapping SourceColumn="chandoan" DataSetColumn="chandoan" />
              <Mapping SourceColumn="quatrinhbenhly" DataSetColumn="quatrinhbenhly" />
              <Mapping SourceColumn="tiensubenhbanthan" DataSetColumn="tiensubenhbanthan" />
              <Mapping SourceColumn="tiensubenhgiadinh" DataSetColumn="tiensubenhgiadinh" />
              <Mapping SourceColumn="khamtoanthan" DataSetColumn="khamtoanthan" />
              <Mapping SourceColumn="khambophan" DataSetColumn="khambophan" />
              <Mapping SourceColumn="dauhieulamsan" DataSetColumn="dauhieulamsan" />
              <Mapping SourceColumn="thuocdadung" DataSetColumn="thuocdadung" />
              <Mapping SourceColumn="dieutritaikhoa" DataSetColumn="dieutritaikhoa" />
              <Mapping SourceColumn="ghichu" DataSetColumn="ghichu" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TCThueTableAdapter" GeneratorDataComponentClassName="TCThueTableAdapter" Name="TCThue" UserDataComponentName="TCThueTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.TCThue" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TCThue] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TCThue] ([ma], [manghiepvu], [taikhoanthue], [sochungtu], [ngaychungtu], [sohoadon], [serial], [loaihoadon], [ngayhoadon], [diengiaithue], [madonvi], [tendonvi], [diachi], [masothue], [doanhthu], [phantramthue], [tienthue], [tongcong], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @manghiepvu, @taikhoanthue, @sochungtu, @ngaychungtu, @sohoadon, @serial, @loaihoadon, @ngayhoadon, @diengiaithue, @madonvi, @tendonvi, @diachi, @masothue, @doanhthu, @phantramthue, @tienthue, @tongcong, @tinhtrang, @chinhanh, @uid);
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM TCThue WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM dbo.TCThue</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TCThue] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [taikhoanthue] = @taikhoanthue, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [serial] = @serial, [loaihoadon] = @loaihoadon, [ngayhoadon] = @ngayhoadon, [diengiaithue] = @diengiaithue, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [diachi] = @diachi, [masothue] = @masothue, [doanhthu] = @doanhthu, [phantramthue] = @phantramthue, [tienthue] = @tienthue, [tongcong] = @tongcong, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM TCThue WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.TCThue" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="taikhoanthue" DataSetColumn="taikhoanthue" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="serial" DataSetColumn="serial" />
              <Mapping SourceColumn="loaihoadon" DataSetColumn="loaihoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="diengiaithue" DataSetColumn="diengiaithue" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="doanhthu" DataSetColumn="doanhthu" />
              <Mapping SourceColumn="phantramthue" DataSetColumn="phantramthue" />
              <Mapping SourceColumn="tienthue" DataSetColumn="tienthue" />
              <Mapping SourceColumn="tongcong" DataSetColumn="tongcong" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TCTienTableAdapter" GeneratorDataComponentClassName="TCTienTableAdapter" Name="TCTien" UserDataComponentName="TCTienTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.TCTien" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [TCTien] WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_tennguoigiaodich = 1 AND [tennguoigiaodich] IS NULL) OR ([tennguoigiaodich] = @Original_tennguoigiaodich)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_tenbophan = 1 AND [tenbophan] IS NULL) OR ([tenbophan] = @Original_tenbophan)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_nganhang = 1 AND [nganhang] IS NULL) OR ([nganhang] = @Original_nganhang)) AND ((@IsNull_taikhoannganhang = 1 AND [taikhoannganhang] IS NULL) OR ([taikhoannganhang] = @Original_taikhoannganhang)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_ngaythamchieu = 1 AND [ngaythamchieu] IS NULL) OR ([ngaythamchieu] = @Original_ngaythamchieu)) AND ((@IsNull_chungtukemtheo = 1 AND [chungtukemtheo] IS NULL) OR ([chungtukemtheo] = @Original_chungtukemtheo)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennguoigiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythamchieu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukemtheo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [TCTien] ([ma], [module], [manghiepvu], [diachi], [sochungtu], [ngaychungtu], [tennguoigiaodich], [mabophan], [tenbophan], [madonvi], [tendonvi], [nganhang], [taikhoannganhang], [noidung], [thamchieu], [ngaythamchieu], [chungtukemtheo], [loaitien], [tygia], [nguyente], [tienvnd], [kyketoan], [tinhtrang], [loai], [chinhanh]) VALUES (@ma, @module, @manghiepvu, @diachi, @sochungtu, @ngaychungtu, @tennguoigiaodich, @mabophan, @tenbophan, @madonvi, @tendonvi, @nganhang, @taikhoannganhang, @noidung, @thamchieu, @ngaythamchieu, @chungtukemtheo, @loaitien, @tygia, @nguyente, @tienvnd, @kyketoan, @tinhtrang, @loai, @chinhanh);
SELECT ma, module, manghiepvu, diachi, sochungtu, ngaychungtu, tennguoigiaodich, mabophan, tenbophan, madonvi, tendonvi, nganhang, taikhoannganhang, noidung, thamchieu, ngaythamchieu, chungtukemtheo, loaitien, tygia, nguyente, tienvnd, kyketoan, tinhtrang, loai, chinhanh, id FROM TCTien WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythamchieu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ma, module, manghiepvu, diachi, sochungtu, ngaychungtu, tennguoigiaodich, mabophan, tenbophan, madonvi, tendonvi, nganhang, taikhoannganhang, noidung, 
                         thamchieu, ngaythamchieu, chungtukemtheo, loaitien, tygia, nguyente, tienvnd, kyketoan, tinhtrang, loai, chinhanh, id
FROM            TCTien
WHERE        (loai = @loai) AND (ngaychungtu BETWEEN @tungay AND @denngay)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="loai" ColumnName="loai" DataSourceName="PCV_Clinic.dbo.TCTien" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tungay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.TCTien" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="denngay" ColumnName="ngaychungtu" DataSourceName="PCV_Clinic.dbo.TCTien" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [TCTien] SET [ma] = @ma, [module] = @module, [manghiepvu] = @manghiepvu, [diachi] = @diachi, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [tennguoigiaodich] = @tennguoigiaodich, [mabophan] = @mabophan, [tenbophan] = @tenbophan, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [nganhang] = @nganhang, [taikhoannganhang] = @taikhoannganhang, [noidung] = @noidung, [thamchieu] = @thamchieu, [ngaythamchieu] = @ngaythamchieu, [chungtukemtheo] = @chungtukemtheo, [loaitien] = @loaitien, [tygia] = @tygia, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [kyketoan] = @kyketoan, [tinhtrang] = @tinhtrang, [loai] = @loai, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_module = 1 AND [module] IS NULL) OR ([module] = @Original_module)) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_tennguoigiaodich = 1 AND [tennguoigiaodich] IS NULL) OR ([tennguoigiaodich] = @Original_tennguoigiaodich)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_tenbophan = 1 AND [tenbophan] IS NULL) OR ([tenbophan] = @Original_tenbophan)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_nganhang = 1 AND [nganhang] IS NULL) OR ([nganhang] = @Original_nganhang)) AND ((@IsNull_taikhoannganhang = 1 AND [taikhoannganhang] IS NULL) OR ([taikhoannganhang] = @Original_taikhoannganhang)) AND ((@IsNull_noidung = 1 AND [noidung] IS NULL) OR ([noidung] = @Original_noidung)) AND ((@IsNull_thamchieu = 1 AND [thamchieu] IS NULL) OR ([thamchieu] = @Original_thamchieu)) AND ((@IsNull_ngaythamchieu = 1 AND [ngaythamchieu] IS NULL) OR ([ngaythamchieu] = @Original_ngaythamchieu)) AND ((@IsNull_chungtukemtheo = 1 AND [chungtukemtheo] IS NULL) OR ([chungtukemtheo] = @Original_chungtukemtheo)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_kyketoan = 1 AND [kyketoan] IS NULL) OR ([kyketoan] = @Original_kyketoan)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_loai = 1 AND [loai] IS NULL) OR ([loai] = @Original_loai)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, module, manghiepvu, diachi, sochungtu, ngaychungtu, tennguoigiaodich, mabophan, tenbophan, madonvi, tendonvi, nganhang, taikhoannganhang, noidung, thamchieu, ngaythamchieu, chungtukemtheo, loaitien, tygia, nguyente, tienvnd, kyketoan, tinhtrang, loai, chinhanh, id FROM TCTien WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenbophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaythamchieu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_module" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_module" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="module" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tennguoigiaodich" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tennguoigiaodich" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tennguoigiaodich" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenbophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenbophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenbophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoannganhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoannganhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoannganhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_noidung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_noidung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="noidung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thamchieu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaythamchieu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaythamchieu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaythamchieu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chungtukemtheo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chungtukemtheo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chungtukemtheo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kyketoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kyketoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kyketoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_loai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.TCTien" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="module" DataSetColumn="module" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="tennguoigiaodich" DataSetColumn="tennguoigiaodich" />
              <Mapping SourceColumn="mabophan" DataSetColumn="mabophan" />
              <Mapping SourceColumn="tenbophan" DataSetColumn="tenbophan" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="nganhang" DataSetColumn="nganhang" />
              <Mapping SourceColumn="taikhoannganhang" DataSetColumn="taikhoannganhang" />
              <Mapping SourceColumn="noidung" DataSetColumn="noidung" />
              <Mapping SourceColumn="thamchieu" DataSetColumn="thamchieu" />
              <Mapping SourceColumn="ngaythamchieu" DataSetColumn="ngaythamchieu" />
              <Mapping SourceColumn="chungtukemtheo" DataSetColumn="chungtukemtheo" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="kyketoan" DataSetColumn="kyketoan" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="loai" DataSetColumn="loai" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillLoai_TCTien" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillLoai_TCTien" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillLoai_TCTien" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillLoai_TCTien">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillLoai_TCTien</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@loai" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_CLINIC.dbo.FillMa_TCTien" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_TCTien" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_TCTien" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillMa_TCTien">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_TCTien</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TCTienChiTietTableAdapter" GeneratorDataComponentClassName="TCTienChiTietTableAdapter" Name="TCTienChiTiet" UserDataComponentName="TCTienChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.TCTienChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TCTienChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachidonvi = 1 AND [diachidonvi] IS NULL) OR ([diachidonvi] = @Original_diachidonvi)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_khoanmucphi = 1 AND [khoanmucphi] IS NULL) OR ([khoanmucphi] = @Original_khoanmucphi)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_mahangmuc = 1 AND [mahangmuc] IS NULL) OR ([mahangmuc] = @Original_mahangmuc)) AND ((@IsNull_kheuocvay = 1 AND [kheuocvay] IS NULL) OR ([kheuocvay] = @Original_kheuocvay)) AND ((@IsNull_hopdongtindung = 1 AND [hopdongtindung] IS NULL) OR ([hopdongtindung] = @Original_hopdongtindung)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachidonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmucphi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kheuocvay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kheuocvay" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdongtindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TCTienChiTiet] ([ma], [manghiepvu], [sochungtu], [ngaychungtu], [taikhoanno], [taikhoanco], [nguyente], [tienvnd], [diengiai], [madonvi], [tendonvi], [diachidonvi], [sohoadon], [ngayhoadon], [sohopdong], [khoanmucphi], [mabophan], [mahangmuc], [kheuocvay], [hopdongtindung], [doituong], [nguonvon], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @manghiepvu, @sochungtu, @ngaychungtu, @taikhoanno, @taikhoanco, @nguyente, @tienvnd, @diengiai, @madonvi, @tendonvi, @diachidonvi, @sohoadon, @ngayhoadon, @sohopdong, @khoanmucphi, @mabophan, @mahangmuc, @kheuocvay, @hopdongtindung, @doituong, @nguonvon, @tinhtrang, @chinhanh, @uid);
SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, madonvi, tendonvi, diachidonvi, sohoadon, ngayhoadon, sohopdong, khoanmucphi, mabophan, mahangmuc, kheuocvay, hopdongtindung, doituong, nguonvon, tinhtrang, chinhanh, uid, id FROM TCTienChiTiet WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kheuocvay" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, madonvi, tendonvi, diachidonvi, sohoadon, ngayhoadon, sohopdong, khoanmucphi, mabophan, mahangmuc, kheuocvay, hopdongtindung, doituong, nguonvon, tinhtrang, chinhanh, uid, id FROM dbo.TCTienChiTiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TCTienChiTiet] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [taikhoanno] = @taikhoanno, [taikhoanco] = @taikhoanco, [nguyente] = @nguyente, [tienvnd] = @tienvnd, [diengiai] = @diengiai, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [diachidonvi] = @diachidonvi, [sohoadon] = @sohoadon, [ngayhoadon] = @ngayhoadon, [sohopdong] = @sohopdong, [khoanmucphi] = @khoanmucphi, [mabophan] = @mabophan, [mahangmuc] = @mahangmuc, [kheuocvay] = @kheuocvay, [hopdongtindung] = @hopdongtindung, [doituong] = @doituong, [nguonvon] = @nguonvon, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_taikhoanno = 1 AND [taikhoanno] IS NULL) OR ([taikhoanno] = @Original_taikhoanno)) AND ((@IsNull_taikhoanco = 1 AND [taikhoanco] IS NULL) OR ([taikhoanco] = @Original_taikhoanco)) AND ((@IsNull_nguyente = 1 AND [nguyente] IS NULL) OR ([nguyente] = @Original_nguyente)) AND ((@IsNull_tienvnd = 1 AND [tienvnd] IS NULL) OR ([tienvnd] = @Original_tienvnd)) AND ((@IsNull_diengiai = 1 AND [diengiai] IS NULL) OR ([diengiai] = @Original_diengiai)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachidonvi = 1 AND [diachidonvi] IS NULL) OR ([diachidonvi] = @Original_diachidonvi)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_sohopdong = 1 AND [sohopdong] IS NULL) OR ([sohopdong] = @Original_sohopdong)) AND ((@IsNull_khoanmucphi = 1 AND [khoanmucphi] IS NULL) OR ([khoanmucphi] = @Original_khoanmucphi)) AND ((@IsNull_mabophan = 1 AND [mabophan] IS NULL) OR ([mabophan] = @Original_mabophan)) AND ((@IsNull_mahangmuc = 1 AND [mahangmuc] IS NULL) OR ([mahangmuc] = @Original_mahangmuc)) AND ((@IsNull_kheuocvay = 1 AND [kheuocvay] IS NULL) OR ([kheuocvay] = @Original_kheuocvay)) AND ((@IsNull_hopdongtindung = 1 AND [hopdongtindung] IS NULL) OR ([hopdongtindung] = @Original_hopdongtindung)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_nguonvon = 1 AND [nguonvon] IS NULL) OR ([nguonvon] = @Original_nguonvon)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, manghiepvu, sochungtu, ngaychungtu, taikhoanno, taikhoanco, nguyente, tienvnd, diengiai, madonvi, tendonvi, diachidonvi, sohoadon, ngayhoadon, sohopdong, khoanmucphi, mabophan, mahangmuc, kheuocvay, hopdongtindung, doituong, nguonvon, tinhtrang, chinhanh, uid, id FROM TCTienChiTiet WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kheuocvay" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanno" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanno" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_nguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="nguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachidonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachidonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachidonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_khoanmucphi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_khoanmucphi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="khoanmucphi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabophan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabophan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabophan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahangmuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahangmuc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahangmuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kheuocvay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kheuocvay" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kheuocvay" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hopdongtindung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hopdongtindung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hopdongtindung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguonvon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguonvon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguonvon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.TCTienChiTiet" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="taikhoanno" DataSetColumn="taikhoanno" />
              <Mapping SourceColumn="taikhoanco" DataSetColumn="taikhoanco" />
              <Mapping SourceColumn="nguyente" DataSetColumn="nguyente" />
              <Mapping SourceColumn="tienvnd" DataSetColumn="tienvnd" />
              <Mapping SourceColumn="diengiai" DataSetColumn="diengiai" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="diachidonvi" DataSetColumn="diachidonvi" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="sohopdong" DataSetColumn="sohopdong" />
              <Mapping SourceColumn="khoanmucphi" DataSetColumn="khoanmucphi" />
              <Mapping SourceColumn="mabophan" DataSetColumn="mabophan" />
              <Mapping SourceColumn="mahangmuc" DataSetColumn="mahangmuc" />
              <Mapping SourceColumn="kheuocvay" DataSetColumn="kheuocvay" />
              <Mapping SourceColumn="hopdongtindung" DataSetColumn="hopdongtindung" />
              <Mapping SourceColumn="doituong" DataSetColumn="doituong" />
              <Mapping SourceColumn="nguonvon" DataSetColumn="nguonvon" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBangGiaTableAdapter" GeneratorDataComponentClassName="BHBangGiaTableAdapter" Name="BHBangGia" UserDataComponentName="BHBangGiaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBangGia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHBangGia] WHERE (([ma] = @Original_ma) AND ((@IsNull_loaibanggia = 1 AND [loaibanggia] IS NULL) OR ([loaibanggia] = @Original_loaibanggia)) AND ((@IsNull_mabanggia = 1 AND [mabanggia] IS NULL) OR ([mabanggia] = @Original_mabanggia)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_thuegtgt = 1 AND [thuegtgt] IS NULL) OR ([thuegtgt] = @Original_thuegtgt)) AND ((@IsNull_thuexk = 1 AND [thuexk] IS NULL) OR ([thuexk] = @Original_thuexk)) AND ((@IsNull_nguoilap = 1 AND [nguoilap] IS NULL) OR ([nguoilap] = @Original_nguoilap)) AND ((@IsNull_nguoiduyet = 1 AND [nguoiduyet] IS NULL) OR ([nguoiduyet] = @Original_nguoiduyet)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_loaiapdung = 1 AND [loaiapdung] IS NULL) OR ([loaiapdung] = @Original_loaiapdung)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaibanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaibanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoilap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoilap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoiduyet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoiduyet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaiapdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHBangGia] ([ma], [loaibanggia], [mabanggia], [ngaylap], [ngaybatdau], [ngayketthuc], [loaitien], [tygia], [thuegtgt], [thuexk], [nguoilap], [nguoiduyet], [tinhtrang], [chinhanh], [loaiapdung]) VALUES (@ma, @loaibanggia, @mabanggia, @ngaylap, @ngaybatdau, @ngayketthuc, @loaitien, @tygia, @thuegtgt, @thuexk, @nguoilap, @nguoiduyet, @tinhtrang, @chinhanh, @loaiapdung);
SELECT ma, loaibanggia, mabanggia, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, thuegtgt, thuexk, nguoilap, nguoiduyet, tinhtrang, chinhanh, id, loaiapdung FROM BHBangGia WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaibanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoilap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoiduyet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, loaibanggia, mabanggia, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, thuegtgt, thuexk, nguoilap, nguoiduyet, tinhtrang, chinhanh, id, loaiapdung FROM BHBangGia</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHBangGia] SET [ma] = @ma, [loaibanggia] = @loaibanggia, [mabanggia] = @mabanggia, [ngaylap] = @ngaylap, [ngaybatdau] = @ngaybatdau, [ngayketthuc] = @ngayketthuc, [loaitien] = @loaitien, [tygia] = @tygia, [thuegtgt] = @thuegtgt, [thuexk] = @thuexk, [nguoilap] = @nguoilap, [nguoiduyet] = @nguoiduyet, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [loaiapdung] = @loaiapdung WHERE (([ma] = @Original_ma) AND ((@IsNull_loaibanggia = 1 AND [loaibanggia] IS NULL) OR ([loaibanggia] = @Original_loaibanggia)) AND ((@IsNull_mabanggia = 1 AND [mabanggia] IS NULL) OR ([mabanggia] = @Original_mabanggia)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_thuegtgt = 1 AND [thuegtgt] IS NULL) OR ([thuegtgt] = @Original_thuegtgt)) AND ((@IsNull_thuexk = 1 AND [thuexk] IS NULL) OR ([thuexk] = @Original_thuexk)) AND ((@IsNull_nguoilap = 1 AND [nguoilap] IS NULL) OR ([nguoilap] = @Original_nguoilap)) AND ((@IsNull_nguoiduyet = 1 AND [nguoiduyet] IS NULL) OR ([nguoiduyet] = @Original_nguoiduyet)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_loaiapdung = 1 AND [loaiapdung] IS NULL) OR ([loaiapdung] = @Original_loaiapdung)));
SELECT ma, loaibanggia, mabanggia, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, thuegtgt, thuexk, nguoilap, nguoiduyet, tinhtrang, chinhanh, id, loaiapdung FROM BHBangGia WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaibanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoilap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nguoiduyet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaibanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaibanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaibanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoilap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoilap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoilap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_nguoiduyet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_nguoiduyet" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nguoiduyet" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaiapdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHBangGia" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="loaibanggia" DataSetColumn="loaibanggia" />
              <Mapping SourceColumn="mabanggia" DataSetColumn="mabanggia" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="ngaybatdau" DataSetColumn="ngaybatdau" />
              <Mapping SourceColumn="ngayketthuc" DataSetColumn="ngayketthuc" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="thuegtgt" DataSetColumn="thuegtgt" />
              <Mapping SourceColumn="thuexk" DataSetColumn="thuexk" />
              <Mapping SourceColumn="nguoilap" DataSetColumn="nguoilap" />
              <Mapping SourceColumn="nguoiduyet" DataSetColumn="nguoiduyet" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="loaiapdung" DataSetColumn="loaiapdung" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBangGiaDMHangTableAdapter" GeneratorDataComponentClassName="BHBangGiaDMHangTableAdapter" Name="BHBangGiaDMHang" UserDataComponentName="BHBangGiaDMHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBangGiaDMHang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHBangGiaDMHang] WHERE (([ma] = @Original_ma) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_gianguyente = 1 AND [gianguyente] IS NULL) OR ([gianguyente] = @Original_gianguyente)) AND ((@IsNull_giavnd = 1 AND [giavnd] IS NULL) OR ([giavnd] = @Original_giavnd)) AND ((@IsNull_thuegtgt = 1 AND [thuegtgt] IS NULL) OR ([thuegtgt] = @Original_thuegtgt)) AND ((@IsNull_thuexk = 1 AND [thuexk] IS NULL) OR ([thuexk] = @Original_thuexk)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_mabanggia = 1 AND [mabanggia] IS NULL) OR ([mabanggia] = @Original_mabanggia)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_tilelai = 1 AND [tilelai] IS NULL) OR ([tilelai] = @Original_tilelai)) AND ((@IsNull_giaban = 1 AND [giaban] IS NULL) OR ([giaban] = @Original_giaban)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giaban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHBangGiaDMHang] ([ma], [mahang], [tenhang], [donvitinh], [kichco], [gianguyente], [giavnd], [thuegtgt], [thuexk], [tinhtrang], [chinhanh], [uid], [mabanggia], [ngaybatdau], [ngayketthuc], [ngaylap], [tilelai], [giaban]) VALUES (@ma, @mahang, @tenhang, @donvitinh, @kichco, @gianguyente, @giavnd, @thuegtgt, @thuexk, @tinhtrang, @chinhanh, @uid, @mabanggia, @ngaybatdau, @ngayketthuc, @ngaylap, @tilelai, @giaban);
SELECT ma, mahang, tenhang, donvitinh, kichco, gianguyente, giavnd, thuegtgt, thuexk, tinhtrang, chinhanh, uid, id, mabanggia, ngaybatdau, ngayketthuc, ngaylap, tilelai, giaban FROM BHBangGiaDMHang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giaban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mahang, tenhang, donvitinh, kichco, gianguyente, giavnd, thuegtgt, thuexk, tinhtrang, chinhanh, uid, id, mabanggia, ngaybatdau, ngayketthuc, ngaylap, tilelai, giaban FROM BHBangGiaDMHang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHBangGiaDMHang] SET [ma] = @ma, [mahang] = @mahang, [tenhang] = @tenhang, [donvitinh] = @donvitinh, [kichco] = @kichco, [gianguyente] = @gianguyente, [giavnd] = @giavnd, [thuegtgt] = @thuegtgt, [thuexk] = @thuexk, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [mabanggia] = @mabanggia, [ngaybatdau] = @ngaybatdau, [ngayketthuc] = @ngayketthuc, [ngaylap] = @ngaylap, [tilelai] = @tilelai, [giaban] = @giaban WHERE (([ma] = @Original_ma) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_gianguyente = 1 AND [gianguyente] IS NULL) OR ([gianguyente] = @Original_gianguyente)) AND ((@IsNull_giavnd = 1 AND [giavnd] IS NULL) OR ([giavnd] = @Original_giavnd)) AND ((@IsNull_thuegtgt = 1 AND [thuegtgt] IS NULL) OR ([thuegtgt] = @Original_thuegtgt)) AND ((@IsNull_thuexk = 1 AND [thuexk] IS NULL) OR ([thuexk] = @Original_thuexk)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_mabanggia = 1 AND [mabanggia] IS NULL) OR ([mabanggia] = @Original_mabanggia)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_tilelai = 1 AND [tilelai] IS NULL) OR ([tilelai] = @Original_tilelai)) AND ((@IsNull_giaban = 1 AND [giaban] IS NULL) OR ([giaban] = @Original_giaban)));
SELECT ma, mahang, tenhang, donvitinh, kichco, gianguyente, giavnd, thuegtgt, thuexk, tinhtrang, chinhanh, uid, id, mabanggia, ngaybatdau, ngayketthuc, ngaylap, tilelai, giaban FROM BHBangGiaDMHang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giaban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuegtgt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuegtgt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_thuexk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thuexk" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mabanggia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mabanggia" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mabanggia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tilelai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tilelai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaban" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giaban" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giaban" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHBangGiaDMHang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="kichco" DataSetColumn="kichco" />
              <Mapping SourceColumn="gianguyente" DataSetColumn="gianguyente" />
              <Mapping SourceColumn="giavnd" DataSetColumn="giavnd" />
              <Mapping SourceColumn="thuegtgt" DataSetColumn="thuegtgt" />
              <Mapping SourceColumn="thuexk" DataSetColumn="thuexk" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="mabanggia" DataSetColumn="mabanggia" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="ngaybatdau" DataSetColumn="ngaybatdau" />
              <Mapping SourceColumn="ngayketthuc" DataSetColumn="ngayketthuc" />
              <Mapping SourceColumn="tilelai" DataSetColumn="tilelai" />
              <Mapping SourceColumn="giaban" DataSetColumn="giaban" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMManHinhTableAdapter" GeneratorDataComponentClassName="DMManHinhTableAdapter" Name="DMManHinh" UserDataComponentName="DMManHinhTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMManHinh" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DMManHinh] WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DMManHinh] ([ma], [ten], [phanhe], [chinhanh], [tinhtrang]) VALUES (@ma, @ten, @phanhe, @chinhanh, @tinhtrang);
SELECT ma, ten, phanhe, chinhanh, tinhtrang, id FROM DMManHinh WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, ten, phanhe, chinhanh, tinhtrang, id FROM dbo.DMManHinh</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DMManHinh] SET [ma] = @ma, [ten] = @ten, [phanhe] = @phanhe, [chinhanh] = @chinhanh, [tinhtrang] = @tinhtrang WHERE (([ma] = @Original_ma) AND ((@IsNull_ten = 1 AND [ten] IS NULL) OR ([ten] = @Original_ten)) AND ((@IsNull_phanhe = 1 AND [phanhe] IS NULL) OR ([phanhe] = @Original_phanhe)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([tinhtrang] = @Original_tinhtrang) AND ([id] = @Original_id));
SELECT ma, ten, phanhe, chinhanh, tinhtrang, id FROM DMManHinh WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ten" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ten" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ten" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phanhe" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phanhe" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phanhe" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.DMManHinh" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="ten" DataSetColumn="ten" />
              <Mapping SourceColumn="phanhe" DataSetColumn="phanhe" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMManHinhChiTietTableAdapter" GeneratorDataComponentClassName="DMManHinhChiTietTableAdapter" Name="DMManHinhChiTiet" UserDataComponentName="DMManHinhChiTietTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMManHinhChiTiet" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DMManHinhChiTiet] WHERE (([ma] = @Original_ma) AND ((@IsNull_loaicontrol = 1 AND [loaicontrol] IS NULL) OR ([loaicontrol] = @Original_loaicontrol)) AND ((@IsNull_control = 1 AND [control] IS NULL) OR ([control] = @Original_control)) AND ((@IsNull_caption = 1 AND [caption] IS NULL) OR ([caption] = @Original_caption)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaicontrol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaicontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_control" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_control" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_caption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DMManHinhChiTiet] ([ma], [loaicontrol], [control], [caption], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @loaicontrol, @control, @caption, @tinhtrang, @chinhanh, @uid);
SELECT ma, loaicontrol, control, caption, tinhtrang, chinhanh, uid, id FROM DMManHinhChiTiet WHERE (uid = @uid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaicontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@control" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, loaicontrol, control, caption, tinhtrang, chinhanh, uid, id FROM dbo.DMManHinhChiTiet</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DMManHinhChiTiet] SET [ma] = @ma, [loaicontrol] = @loaicontrol, [control] = @control, [caption] = @caption, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_loaicontrol = 1 AND [loaicontrol] IS NULL) OR ([loaicontrol] = @Original_loaicontrol)) AND ((@IsNull_control = 1 AND [control] IS NULL) OR ([control] = @Original_control)) AND ((@IsNull_caption = 1 AND [caption] IS NULL) OR ([caption] = @Original_caption)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, loaicontrol, control, caption, tinhtrang, chinhanh, uid, id FROM DMManHinhChiTiet WHERE (uid = @uid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaicontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@control" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaicontrol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaicontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaicontrol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_control" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_control" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="control" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_caption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="loaicontrol" DataSetColumn="loaicontrol" />
              <Mapping SourceColumn="control" DataSetColumn="control" />
              <Mapping SourceColumn="caption" DataSetColumn="caption" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMManHinhChiTietGridColumnTableAdapter" GeneratorDataComponentClassName="DMManHinhChiTietGridColumnTableAdapter" Name="DMManHinhChiTietGridColumn" UserDataComponentName="DMManHinhChiTietGridColumnTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMManHinhChiTietGridColumn" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DMManHinhChiTietGridColumn] WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_macontrol = 1 AND [macontrol] IS NULL) OR ([macontrol] = @Original_macontrol)) AND ((@IsNull_gridcolumn = 1 AND [gridcolumn] IS NULL) OR ([gridcolumn] = @Original_gridcolumn)) AND ((@IsNull_caption = 1 AND [caption] IS NULL) OR ([caption] = @Original_caption)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macontrol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gridcolumn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gridcolumn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_caption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DMManHinhChiTietGridColumn] ([ma], [macontrol], [gridcolumn], [caption], [uid]) VALUES (@ma, @macontrol, @gridcolumn, @caption, @uid);
SELECT ma, macontrol, gridcolumn, caption, uid, id FROM DMManHinhChiTietGridColumn WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gridcolumn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, macontrol, gridcolumn, caption, uid, id FROM dbo.DMManHinhChiTietGridColumn</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DMManHinhChiTietGridColumn] SET [ma] = @ma, [macontrol] = @macontrol, [gridcolumn] = @gridcolumn, [caption] = @caption, [uid] = @uid WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_macontrol = 1 AND [macontrol] IS NULL) OR ([macontrol] = @Original_macontrol)) AND ((@IsNull_gridcolumn = 1 AND [gridcolumn] IS NULL) OR ([gridcolumn] = @Original_gridcolumn)) AND ((@IsNull_caption = 1 AND [caption] IS NULL) OR ([caption] = @Original_caption)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id));
SELECT ma, macontrol, gridcolumn, caption, uid, id FROM DMManHinhChiTietGridColumn WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@macontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gridcolumn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_macontrol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_macontrol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="macontrol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gridcolumn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_gridcolumn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gridcolumn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_caption" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_caption" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="caption" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.DMManHinhChiTietGridColumn" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="macontrol" DataSetColumn="macontrol" />
              <Mapping SourceColumn="gridcolumn" DataSetColumn="gridcolumn" />
              <Mapping SourceColumn="caption" DataSetColumn="caption" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBangGiaDoiTuongApDungTableAdapter" GeneratorDataComponentClassName="BHBangGiaDoiTuongApDungTableAdapter" Name="BHBangGiaDoiTuongApDung" UserDataComponentName="BHBangGiaDoiTuongApDungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBangGiaDoiTuongApDung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BHBangGiaDoiTuongApDung] WHERE (([ma] = @Original_ma) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BHBangGiaDoiTuongApDung] ([ma], [makhachhang], [tenkhachhang], [diachi], [thanhtoan], [giaohang], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @makhachhang, @tenkhachhang, @diachi, @thanhtoan, @giaohang, @tinhtrang, @chinhanh, @uid);
SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, tinhtrang, chinhanh, uid, id FROM BHBangGiaDoiTuongApDung WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, tinhtrang, chinhanh, uid, id FROM dbo.BHBangGiaDoiTuongApDung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BHBangGiaDoiTuongApDung] SET [ma] = @ma, [makhachhang] = @makhachhang, [tenkhachhang] = @tenkhachhang, [diachi] = @diachi, [thanhtoan] = @thanhtoan, [giaohang] = @giaohang, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id));
SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, tinhtrang, chinhanh, uid, id FROM BHBangGiaDoiTuongApDung WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHBangGiaDoiTuongApDung" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="makhachhang" DataSetColumn="makhachhang" />
              <Mapping SourceColumn="tenkhachhang" DataSetColumn="tenkhachhang" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="thanhtoan" DataSetColumn="thanhtoan" />
              <Mapping SourceColumn="giaohang" DataSetColumn="giaohang" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KHThueTableAdapter" GeneratorDataComponentClassName="KHThueTableAdapter" Name="KHThue" UserDataComponentName="KHThueTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.KHThue" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[KHThue] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[KHThue] ([ma], [manghiepvu], [taikhoanthue], [sochungtu], [ngaychungtu], [sohoadon], [serial], [loaihoadon], [ngayhoadon], [diengiaithue], [madonvi], [tendonvi], [diachi], [masothue], [doanhthu], [phantramthue], [tienthue], [tongcong], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @manghiepvu, @taikhoanthue, @sochungtu, @ngaychungtu, @sohoadon, @serial, @loaihoadon, @ngayhoadon, @diengiaithue, @madonvi, @tendonvi, @diachi, @masothue, @doanhthu, @phantramthue, @tienthue, @tongcong, @tinhtrang, @chinhanh, @uid);
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM KHThue WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM dbo.KHThue</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[KHThue] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [taikhoanthue] = @taikhoanthue, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [serial] = @serial, [loaihoadon] = @loaihoadon, [ngayhoadon] = @ngayhoadon, [diengiaithue] = @diengiaithue, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [diachi] = @diachi, [masothue] = @masothue, [doanhthu] = @doanhthu, [phantramthue] = @phantramthue, [tienthue] = @tienthue, [tongcong] = @tongcong, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM KHThue WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.KHThue" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="taikhoanthue" DataSetColumn="taikhoanthue" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="serial" DataSetColumn="serial" />
              <Mapping SourceColumn="loaihoadon" DataSetColumn="loaihoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="diengiaithue" DataSetColumn="diengiaithue" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="doanhthu" DataSetColumn="doanhthu" />
              <Mapping SourceColumn="phantramthue" DataSetColumn="phantramthue" />
              <Mapping SourceColumn="tienthue" DataSetColumn="tienthue" />
              <Mapping SourceColumn="tongcong" DataSetColumn="tongcong" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHBanHangThueTableAdapter" GeneratorDataComponentClassName="BHBanHangThueTableAdapter" Name="BHBanHangThue" UserDataComponentName="BHBanHangThueTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHBanHangThue" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BHBanHangThue] WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BHBanHangThue] ([ma], [manghiepvu], [taikhoanthue], [sochungtu], [ngaychungtu], [sohoadon], [serial], [loaihoadon], [ngayhoadon], [diengiaithue], [madonvi], [tendonvi], [diachi], [masothue], [doanhthu], [phantramthue], [tienthue], [tongcong], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @manghiepvu, @taikhoanthue, @sochungtu, @ngaychungtu, @sohoadon, @serial, @loaihoadon, @ngayhoadon, @diengiaithue, @madonvi, @tendonvi, @diachi, @masothue, @doanhthu, @phantramthue, @tienthue, @tongcong, @tinhtrang, @chinhanh, @uid);
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM BHBanHangThue WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM dbo.BHBanHangThue</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BHBanHangThue] SET [ma] = @ma, [manghiepvu] = @manghiepvu, [taikhoanthue] = @taikhoanthue, [sochungtu] = @sochungtu, [ngaychungtu] = @ngaychungtu, [sohoadon] = @sohoadon, [serial] = @serial, [loaihoadon] = @loaihoadon, [ngayhoadon] = @ngayhoadon, [diengiaithue] = @diengiaithue, [madonvi] = @madonvi, [tendonvi] = @tendonvi, [diachi] = @diachi, [masothue] = @masothue, [doanhthu] = @doanhthu, [phantramthue] = @phantramthue, [tienthue] = @tienthue, [tongcong] = @tongcong, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_manghiepvu = 1 AND [manghiepvu] IS NULL) OR ([manghiepvu] = @Original_manghiepvu)) AND ((@IsNull_taikhoanthue = 1 AND [taikhoanthue] IS NULL) OR ([taikhoanthue] = @Original_taikhoanthue)) AND ((@IsNull_sochungtu = 1 AND [sochungtu] IS NULL) OR ([sochungtu] = @Original_sochungtu)) AND ((@IsNull_ngaychungtu = 1 AND [ngaychungtu] IS NULL) OR ([ngaychungtu] = @Original_ngaychungtu)) AND ((@IsNull_sohoadon = 1 AND [sohoadon] IS NULL) OR ([sohoadon] = @Original_sohoadon)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_loaihoadon = 1 AND [loaihoadon] IS NULL) OR ([loaihoadon] = @Original_loaihoadon)) AND ((@IsNull_ngayhoadon = 1 AND [ngayhoadon] IS NULL) OR ([ngayhoadon] = @Original_ngayhoadon)) AND ((@IsNull_diengiaithue = 1 AND [diengiaithue] IS NULL) OR ([diengiaithue] = @Original_diengiaithue)) AND ((@IsNull_madonvi = 1 AND [madonvi] IS NULL) OR ([madonvi] = @Original_madonvi)) AND ((@IsNull_tendonvi = 1 AND [tendonvi] IS NULL) OR ([tendonvi] = @Original_tendonvi)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_masothue = 1 AND [masothue] IS NULL) OR ([masothue] = @Original_masothue)) AND ((@IsNull_doanhthu = 1 AND [doanhthu] IS NULL) OR ([doanhthu] = @Original_doanhthu)) AND ((@IsNull_phantramthue = 1 AND [phantramthue] IS NULL) OR ([phantramthue] = @Original_phantramthue)) AND ((@IsNull_tienthue = 1 AND [tienthue] IS NULL) OR ([tienthue] = @Original_tienthue)) AND ((@IsNull_tongcong = 1 AND [tongcong] IS NULL) OR ([tongcong] = @Original_tongcong)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, manghiepvu, taikhoanthue, sochungtu, ngaychungtu, sohoadon, serial, loaihoadon, ngayhoadon, diengiaithue, madonvi, tendonvi, diachi, masothue, doanhthu, phantramthue, tienthue, tongcong, tinhtrang, chinhanh, uid, id FROM BHBanHangThue WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manghiepvu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_manghiepvu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manghiepvu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_taikhoanthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_taikhoanthue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="taikhoanthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sochungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sochungtu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sochungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaychungtu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaychungtu" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaychungtu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sohoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sohoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sohoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihoadon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhoadon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhoadon" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhoadon" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diengiaithue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diengiaithue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diengiaithue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_madonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_madonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="madonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tendonvi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendonvi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendonvi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_masothue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_masothue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="masothue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doanhthu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_doanhthu" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="doanhthu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_phantramthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phantramthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tienthue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tienthue" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tienthue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tongcong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tongcong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tongcong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHBanHangThue" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="manghiepvu" DataSetColumn="manghiepvu" />
              <Mapping SourceColumn="taikhoanthue" DataSetColumn="taikhoanthue" />
              <Mapping SourceColumn="sochungtu" DataSetColumn="sochungtu" />
              <Mapping SourceColumn="ngaychungtu" DataSetColumn="ngaychungtu" />
              <Mapping SourceColumn="sohoadon" DataSetColumn="sohoadon" />
              <Mapping SourceColumn="serial" DataSetColumn="serial" />
              <Mapping SourceColumn="loaihoadon" DataSetColumn="loaihoadon" />
              <Mapping SourceColumn="ngayhoadon" DataSetColumn="ngayhoadon" />
              <Mapping SourceColumn="diengiaithue" DataSetColumn="diengiaithue" />
              <Mapping SourceColumn="madonvi" DataSetColumn="madonvi" />
              <Mapping SourceColumn="tendonvi" DataSetColumn="tendonvi" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="masothue" DataSetColumn="masothue" />
              <Mapping SourceColumn="doanhthu" DataSetColumn="doanhthu" />
              <Mapping SourceColumn="phantramthue" DataSetColumn="phantramthue" />
              <Mapping SourceColumn="tienthue" DataSetColumn="tienthue" />
              <Mapping SourceColumn="tongcong" DataSetColumn="tongcong" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHChuongTrinhKhuyenMaiTableAdapter" GeneratorDataComponentClassName="BHChuongTrinhKhuyenMaiTableAdapter" Name="BHChuongTrinhKhuyenMai" UserDataComponentName="BHChuongTrinhKhuyenMaiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMai" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHChuongTrinhKhuyenMai] WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_loaikhuyenmai = 1 AND [loaikhuyenmai] IS NULL) OR ([loaikhuyenmai] = @Original_loaikhuyenmai)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_loaiapdung = 1 AND [loaiapdung] IS NULL) OR ([loaiapdung] = @Original_loaiapdung)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaiapdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHChuongTrinhKhuyenMai] ([ma], [mactkm], [ngaylap], [ngaybatdau], [ngayketthuc], [loaitien], [tygia], [loaikhuyenmai], [tinhtrang], [chinhanh], [loaiapdung]) VALUES (@ma, @mactkm, @ngaylap, @ngaybatdau, @ngayketthuc, @loaitien, @tygia, @loaikhuyenmai, @tinhtrang, @chinhanh, @loaiapdung);
SELECT ma, mactkm, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, loaikhuyenmai, tinhtrang, chinhanh, id, loaiapdung FROM BHChuongTrinhKhuyenMai WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mactkm, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, loaikhuyenmai, tinhtrang, chinhanh, id, loaiapdung FROM BHChuongTrinhKhuyenMai</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHChuongTrinhKhuyenMai] SET [ma] = @ma, [mactkm] = @mactkm, [ngaylap] = @ngaylap, [ngaybatdau] = @ngaybatdau, [ngayketthuc] = @ngayketthuc, [loaitien] = @loaitien, [tygia] = @tygia, [loaikhuyenmai] = @loaikhuyenmai, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [loaiapdung] = @loaiapdung WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)) AND ((@IsNull_ngaylap = 1 AND [ngaylap] IS NULL) OR ([ngaylap] = @Original_ngaylap)) AND ((@IsNull_ngaybatdau = 1 AND [ngaybatdau] IS NULL) OR ([ngaybatdau] = @Original_ngaybatdau)) AND ((@IsNull_ngayketthuc = 1 AND [ngayketthuc] IS NULL) OR ([ngayketthuc] = @Original_ngayketthuc)) AND ((@IsNull_loaitien = 1 AND [loaitien] IS NULL) OR ([loaitien] = @Original_loaitien)) AND ((@IsNull_tygia = 1 AND [tygia] IS NULL) OR ([tygia] = @Original_tygia)) AND ((@IsNull_loaikhuyenmai = 1 AND [loaikhuyenmai] IS NULL) OR ([loaikhuyenmai] = @Original_loaikhuyenmai)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id) AND ((@IsNull_loaiapdung = 1 AND [loaiapdung] IS NULL) OR ([loaiapdung] = @Original_loaiapdung)));
SELECT ma, mactkm, ngaylap, ngaybatdau, ngayketthuc, loaitien, tygia, loaikhuyenmai, tinhtrang, chinhanh, id, loaiapdung FROM BHChuongTrinhKhuyenMai WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaikhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaylap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaylap" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaylap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngaybatdau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngaybatdau" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngaybatdau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayketthuc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayketthuc" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayketthuc" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaitien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaitien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaitien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tygia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tygia" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tygia" Precision="18" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="tygia" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaikhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaikhuyenmai" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaikhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaiapdung" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaiapdung" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaiapdung" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMai" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mactkm" DataSetColumn="mactkm" />
              <Mapping SourceColumn="ngaylap" DataSetColumn="ngaylap" />
              <Mapping SourceColumn="ngaybatdau" DataSetColumn="ngaybatdau" />
              <Mapping SourceColumn="ngayketthuc" DataSetColumn="ngayketthuc" />
              <Mapping SourceColumn="loaitien" DataSetColumn="loaitien" />
              <Mapping SourceColumn="tygia" DataSetColumn="tygia" />
              <Mapping SourceColumn="loaikhuyenmai" DataSetColumn="loaikhuyenmai" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="loaiapdung" DataSetColumn="loaiapdung" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.FillMa_BHChuongTrinhKhuyenMai" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_BHChuongTrinhKhuyenMai" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_BHChuongTrinhKhuyenMai" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_BHChuongTrinhKhuyenMai">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_BHChuongTrinhKhuyenMai</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHChuongTrinhKhuyenMaiDMHangTableAdapter" GeneratorDataComponentClassName="BHChuongTrinhKhuyenMaiDMHangTableAdapter" Name="BHChuongTrinhKhuyenMaiDMHang" UserDataComponentName="BHChuongTrinhKhuyenMaiDMHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMaiDMHang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHChuongTrinhKhuyenMaiDMHang] WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_soluongmua = 1 AND [soluongmua] IS NULL) OR ([soluongmua] = @Original_soluongmua)) AND ((@IsNull_giatrimua = 1 AND [giatrimua] IS NULL) OR ([giatrimua] = @Original_giatrimua)) AND ((@IsNull_lanmua = 1 AND [lanmua] IS NULL) OR ([lanmua] = @Original_lanmua)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_hangkhuyenmai = 1 AND [hangkhuyenmai] IS NULL) OR ([hangkhuyenmai] = @Original_hangkhuyenmai)) AND ((@IsNull_soluongtang = 1 AND [soluongtang] IS NULL) OR ([soluongtang] = @Original_soluongtang)) AND ((@IsNull_quidoithanhtien = 1 AND [quidoithanhtien] IS NULL) OR ([quidoithanhtien] = @Original_quidoithanhtien)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongmua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giatrimua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giatrimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lanmua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_lanmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chietkhau" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangkhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_hangkhuyenmai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongtang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongtang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoithanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoithanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHChuongTrinhKhuyenMaiDMHang] ([ma], [mahang], [tenhang], [dvt], [quicach], [soluongmua], [giatrimua], [lanmua], [chietkhau], [hangkhuyenmai], [soluongtang], [quidoithanhtien], [uid], [mactkm]) VALUES (@ma, @mahang, @tenhang, @dvt, @quicach, @soluongmua, @giatrimua, @lanmua, @chietkhau, @hangkhuyenmai, @soluongtang, @quidoithanhtien, @uid, @mactkm);
SELECT ma, mahang, tenhang, dvt, quicach, soluongmua, giatrimua, lanmua, chietkhau, hangkhuyenmai, soluongtang, quidoithanhtien, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDMHang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giatrimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@lanmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chietkhau" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@hangkhuyenmai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongtang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoithanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mahang, tenhang, dvt, quicach, soluongmua, giatrimua, lanmua, chietkhau, hangkhuyenmai, soluongtang, quidoithanhtien, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDMHang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHChuongTrinhKhuyenMaiDMHang] SET [ma] = @ma, [mahang] = @mahang, [tenhang] = @tenhang, [dvt] = @dvt, [quicach] = @quicach, [soluongmua] = @soluongmua, [giatrimua] = @giatrimua, [lanmua] = @lanmua, [chietkhau] = @chietkhau, [hangkhuyenmai] = @hangkhuyenmai, [soluongtang] = @soluongtang, [quidoithanhtien] = @quidoithanhtien, [uid] = @uid, [mactkm] = @mactkm WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_dvt = 1 AND [dvt] IS NULL) OR ([dvt] = @Original_dvt)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_soluongmua = 1 AND [soluongmua] IS NULL) OR ([soluongmua] = @Original_soluongmua)) AND ((@IsNull_giatrimua = 1 AND [giatrimua] IS NULL) OR ([giatrimua] = @Original_giatrimua)) AND ((@IsNull_lanmua = 1 AND [lanmua] IS NULL) OR ([lanmua] = @Original_lanmua)) AND ((@IsNull_chietkhau = 1 AND [chietkhau] IS NULL) OR ([chietkhau] = @Original_chietkhau)) AND ((@IsNull_hangkhuyenmai = 1 AND [hangkhuyenmai] IS NULL) OR ([hangkhuyenmai] = @Original_hangkhuyenmai)) AND ((@IsNull_soluongtang = 1 AND [soluongtang] IS NULL) OR ([soluongtang] = @Original_soluongtang)) AND ((@IsNull_quidoithanhtien = 1 AND [quidoithanhtien] IS NULL) OR ([quidoithanhtien] = @Original_quidoithanhtien)) AND ([uid] = @Original_uid) AND ([id] = @Original_id) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)));
SELECT ma, mahang, tenhang, dvt, quicach, soluongmua, giatrimua, lanmua, chietkhau, hangkhuyenmai, soluongtang, quidoithanhtien, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDMHang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@giatrimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@lanmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@chietkhau" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@hangkhuyenmai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluongtang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@quidoithanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongmua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongmua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giatrimua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_giatrimua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="giatrimua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lanmua" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_lanmua" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="lanmua" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chietkhau" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_chietkhau" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="chietkhau" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hangkhuyenmai" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_hangkhuyenmai" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="hangkhuyenmai" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluongtang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluongtang" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluongtang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quidoithanhtien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_quidoithanhtien" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="quidoithanhtien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMaiDMHang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="soluongmua" DataSetColumn="soluongmua" />
              <Mapping SourceColumn="giatrimua" DataSetColumn="giatrimua" />
              <Mapping SourceColumn="lanmua" DataSetColumn="lanmua" />
              <Mapping SourceColumn="chietkhau" DataSetColumn="chietkhau" />
              <Mapping SourceColumn="hangkhuyenmai" DataSetColumn="hangkhuyenmai" />
              <Mapping SourceColumn="soluongtang" DataSetColumn="soluongtang" />
              <Mapping SourceColumn="quidoithanhtien" DataSetColumn="quidoithanhtien" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="mactkm" DataSetColumn="mactkm" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.FillMa_BHChuongTrinhKhuyenMaiDMHang" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillMa_BHChuongTrinhKhuyenMaiDMHang" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillMa_BHChuongTrinhKhuyenMaiDMHang" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillMa_BHChuongTrinhKhuyenMaiDMHang">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.FillMa_BHChuongTrinhKhuyenMaiDMHang</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHChuongTrinhKhuyenMaiDoiTuongApDungTableAdapter" GeneratorDataComponentClassName="BHChuongTrinhKhuyenMaiDoiTuongApDungTableAdapter" Name="BHChuongTrinhKhuyenMaiDoiTuongApDung" UserDataComponentName="BHChuongTrinhKhuyenMaiDoiTuongApDungTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMaiDoiTuongApDung" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHChuongTrinhKhuyenMaiDoiTuongApDung] WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHChuongTrinhKhuyenMaiDoiTuongApDung] ([ma], [makhachhang], [tenkhachhang], [diachi], [thanhtoan], [giaohang], [uid], [mactkm]) VALUES (@ma, @makhachhang, @tenkhachhang, @diachi, @thanhtoan, @giaohang, @uid, @mactkm);
SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDoiTuongApDung WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDoiTuongApDung</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHChuongTrinhKhuyenMaiDoiTuongApDung] SET [ma] = @ma, [makhachhang] = @makhachhang, [tenkhachhang] = @tenkhachhang, [diachi] = @diachi, [thanhtoan] = @thanhtoan, [giaohang] = @giaohang, [uid] = @uid, [mactkm] = @mactkm WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_makhachhang = 1 AND [makhachhang] IS NULL) OR ([makhachhang] = @Original_makhachhang)) AND ((@IsNull_tenkhachhang = 1 AND [tenkhachhang] IS NULL) OR ([tenkhachhang] = @Original_tenkhachhang)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_mactkm = 1 AND [mactkm] IS NULL) OR ([mactkm] = @Original_mactkm)));
SELECT ma, makhachhang, tenkhachhang, diachi, thanhtoan, giaohang, uid, id, mactkm FROM BHChuongTrinhKhuyenMaiDoiTuongApDung WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_makhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_makhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="makhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenkhachhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenkhachhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenkhachhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mactkm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mactkm" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mactkm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.BHChuongTrinhKhuyenMaiDoiTuongApDung" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="makhachhang" DataSetColumn="makhachhang" />
              <Mapping SourceColumn="tenkhachhang" DataSetColumn="tenkhachhang" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="thanhtoan" DataSetColumn="thanhtoan" />
              <Mapping SourceColumn="giaohang" DataSetColumn="giaohang" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="mactkm" DataSetColumn="mactkm" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHHopDongMuaBanTableAdapter" GeneratorDataComponentClassName="BHHopDongMuaBanTableAdapter" Name="BHHopDongMuaBan" UserDataComponentName="BHHopDongMuaBanTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHHopDongMuaBan" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHHopDongMuaBan] WHERE (([ma] = @Original_ma) AND ((@IsNull_mahopdong = 1 AND [mahopdong] IS NULL) OR ([mahopdong] = @Original_mahopdong)) AND ((@IsNull_ngayhopdong = 1 AND [ngayhopdong] IS NULL) OR ([ngayhopdong] = @Original_ngayhopdong)) AND ((@IsNull_loaihopdong = 1 AND [loaihopdong] IS NULL) OR ([loaihopdong] = @Original_loaihopdong)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_thoigiangiaohang = 1 AND [thoigiangiaohang] IS NULL) OR ([thoigiangiaohang] = @Original_thoigiangiaohang)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_diachigiaohang = 1 AND [diachigiaohang] IS NULL) OR ([diachigiaohang] = @Original_diachigiaohang)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiangiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachigiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHHopDongMuaBan] ([ma], [mahopdong], [ngayhopdong], [loaihopdong], [doituong], [diachi], [dieukiengiaohang], [thoigiangiaohang], [thanhtoan], [giaohang], [diachigiaohang], [phuongtienvanchuyen], [tinhtrang], [chinhanh]) VALUES (@ma, @mahopdong, @ngayhopdong, @loaihopdong, @doituong, @diachi, @dieukiengiaohang, @thoigiangiaohang, @thanhtoan, @giaohang, @diachigiaohang, @phuongtienvanchuyen, @tinhtrang, @chinhanh);
SELECT ma, mahopdong, ngayhopdong, loaihopdong, doituong, diachi, dieukiengiaohang, thoigiangiaohang, thanhtoan, giaohang, diachigiaohang, phuongtienvanchuyen, tinhtrang, chinhanh, id FROM BHHopDongMuaBan WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mahopdong, ngayhopdong, loaihopdong, doituong, diachi, dieukiengiaohang, thoigiangiaohang, thanhtoan, giaohang, diachigiaohang, phuongtienvanchuyen, tinhtrang, chinhanh, id FROM BHHopDongMuaBan</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHHopDongMuaBan] SET [ma] = @ma, [mahopdong] = @mahopdong, [ngayhopdong] = @ngayhopdong, [loaihopdong] = @loaihopdong, [doituong] = @doituong, [diachi] = @diachi, [dieukiengiaohang] = @dieukiengiaohang, [thoigiangiaohang] = @thoigiangiaohang, [thanhtoan] = @thanhtoan, [giaohang] = @giaohang, [diachigiaohang] = @diachigiaohang, [phuongtienvanchuyen] = @phuongtienvanchuyen, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh WHERE (([ma] = @Original_ma) AND ((@IsNull_mahopdong = 1 AND [mahopdong] IS NULL) OR ([mahopdong] = @Original_mahopdong)) AND ((@IsNull_ngayhopdong = 1 AND [ngayhopdong] IS NULL) OR ([ngayhopdong] = @Original_ngayhopdong)) AND ((@IsNull_loaihopdong = 1 AND [loaihopdong] IS NULL) OR ([loaihopdong] = @Original_loaihopdong)) AND ((@IsNull_doituong = 1 AND [doituong] IS NULL) OR ([doituong] = @Original_doituong)) AND ((@IsNull_diachi = 1 AND [diachi] IS NULL) OR ([diachi] = @Original_diachi)) AND ((@IsNull_dieukiengiaohang = 1 AND [dieukiengiaohang] IS NULL) OR ([dieukiengiaohang] = @Original_dieukiengiaohang)) AND ((@IsNull_thoigiangiaohang = 1 AND [thoigiangiaohang] IS NULL) OR ([thoigiangiaohang] = @Original_thoigiangiaohang)) AND ((@IsNull_thanhtoan = 1 AND [thanhtoan] IS NULL) OR ([thanhtoan] = @Original_thanhtoan)) AND ((@IsNull_giaohang = 1 AND [giaohang] IS NULL) OR ([giaohang] = @Original_giaohang)) AND ((@IsNull_diachigiaohang = 1 AND [diachigiaohang] IS NULL) OR ([diachigiaohang] = @Original_diachigiaohang)) AND ((@IsNull_phuongtienvanchuyen = 1 AND [phuongtienvanchuyen] IS NULL) OR ([phuongtienvanchuyen] = @Original_phuongtienvanchuyen)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([id] = @Original_id));
SELECT ma, mahopdong, ngayhopdong, loaihopdong, doituong, diachi, dieukiengiaohang, thoigiangiaohang, thanhtoan, giaohang, diachigiaohang, phuongtienvanchuyen, tinhtrang, chinhanh, id FROM BHHopDongMuaBan WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@loaihopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_loaihopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_loaihopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="loaihopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_doituong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doituong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doituong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachi" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachi" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dieukiengiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dieukiengiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dieukiengiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thoigiangiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thoigiangiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thoigiangiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtoan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_thanhtoan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="thanhtoan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_giaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_giaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="giaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_diachigiaohang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_diachigiaohang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="diachigiaohang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phuongtienvanchuyen" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phuongtienvanchuyen" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phuongtienvanchuyen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHHopDongMuaBan" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mahopdong" DataSetColumn="mahopdong" />
              <Mapping SourceColumn="ngayhopdong" DataSetColumn="ngayhopdong" />
              <Mapping SourceColumn="loaihopdong" DataSetColumn="loaihopdong" />
              <Mapping SourceColumn="doituong" DataSetColumn="doituong" />
              <Mapping SourceColumn="diachi" DataSetColumn="diachi" />
              <Mapping SourceColumn="dieukiengiaohang" DataSetColumn="dieukiengiaohang" />
              <Mapping SourceColumn="thoigiangiaohang" DataSetColumn="thoigiangiaohang" />
              <Mapping SourceColumn="thanhtoan" DataSetColumn="thanhtoan" />
              <Mapping SourceColumn="giaohang" DataSetColumn="giaohang" />
              <Mapping SourceColumn="diachigiaohang" DataSetColumn="diachigiaohang" />
              <Mapping SourceColumn="phuongtienvanchuyen" DataSetColumn="phuongtienvanchuyen" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BHHopDongMuaBanDMHangTableAdapter" GeneratorDataComponentClassName="BHHopDongMuaBanDMHangTableAdapter" Name="BHHopDongMuaBanDMHang" UserDataComponentName="BHHopDongMuaBanDMHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.BHHopDongMuaBanDMHang" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [BHHopDongMuaBanDMHang] WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_dongianguyente = 1 AND [dongianguyente] IS NULL) OR ([dongianguyente] = @Original_dongianguyente)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_mahopdong = 1 AND [mahopdong] IS NULL) OR ([mahopdong] = @Original_mahopdong)) AND ((@IsNull_ngayhopdong = 1 AND [ngayhopdong] IS NULL) OR ([ngayhopdong] = @Original_ngayhopdong)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [BHHopDongMuaBanDMHang] ([ma], [mahang], [tenhang], [donvitinh], [quicach], [kichco], [chebien], [baoquan], [phamcap], [soluong], [dongianguyente], [dongiavnd], [thanhtiennguyente], [thanhtienvnd], [tinhtrang], [chinhanh], [uid], [mahopdong], [ngayhopdong]) VALUES (@ma, @mahang, @tenhang, @donvitinh, @quicach, @kichco, @chebien, @baoquan, @phamcap, @soluong, @dongianguyente, @dongiavnd, @thanhtiennguyente, @thanhtienvnd, @tinhtrang, @chinhanh, @uid, @mahopdong, @ngayhopdong);
SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, mahopdong, ngayhopdong FROM BHHopDongMuaBanDMHang WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, mahopdong, ngayhopdong FROM BHHopDongMuaBanDMHang</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [BHHopDongMuaBanDMHang] SET [ma] = @ma, [mahang] = @mahang, [tenhang] = @tenhang, [donvitinh] = @donvitinh, [quicach] = @quicach, [kichco] = @kichco, [chebien] = @chebien, [baoquan] = @baoquan, [phamcap] = @phamcap, [soluong] = @soluong, [dongianguyente] = @dongianguyente, [dongiavnd] = @dongiavnd, [thanhtiennguyente] = @thanhtiennguyente, [thanhtienvnd] = @thanhtienvnd, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid, [mahopdong] = @mahopdong, [ngayhopdong] = @ngayhopdong WHERE (((@IsNull_ma = 1 AND [ma] IS NULL) OR ([ma] = @Original_ma)) AND ((@IsNull_mahang = 1 AND [mahang] IS NULL) OR ([mahang] = @Original_mahang)) AND ((@IsNull_tenhang = 1 AND [tenhang] IS NULL) OR ([tenhang] = @Original_tenhang)) AND ((@IsNull_donvitinh = 1 AND [donvitinh] IS NULL) OR ([donvitinh] = @Original_donvitinh)) AND ((@IsNull_quicach = 1 AND [quicach] IS NULL) OR ([quicach] = @Original_quicach)) AND ((@IsNull_kichco = 1 AND [kichco] IS NULL) OR ([kichco] = @Original_kichco)) AND ((@IsNull_chebien = 1 AND [chebien] IS NULL) OR ([chebien] = @Original_chebien)) AND ((@IsNull_baoquan = 1 AND [baoquan] IS NULL) OR ([baoquan] = @Original_baoquan)) AND ((@IsNull_phamcap = 1 AND [phamcap] IS NULL) OR ([phamcap] = @Original_phamcap)) AND ((@IsNull_soluong = 1 AND [soluong] IS NULL) OR ([soluong] = @Original_soluong)) AND ((@IsNull_dongianguyente = 1 AND [dongianguyente] IS NULL) OR ([dongianguyente] = @Original_dongianguyente)) AND ((@IsNull_dongiavnd = 1 AND [dongiavnd] IS NULL) OR ([dongiavnd] = @Original_dongiavnd)) AND ((@IsNull_thanhtiennguyente = 1 AND [thanhtiennguyente] IS NULL) OR ([thanhtiennguyente] = @Original_thanhtiennguyente)) AND ((@IsNull_thanhtienvnd = 1 AND [thanhtienvnd] IS NULL) OR ([thanhtienvnd] = @Original_thanhtienvnd)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ([id] = @Original_id) AND ((@IsNull_mahopdong = 1 AND [mahopdong] IS NULL) OR ([mahopdong] = @Original_mahopdong)) AND ((@IsNull_ngayhopdong = 1 AND [ngayhopdong] IS NULL) OR ([ngayhopdong] = @Original_ngayhopdong)));
SELECT ma, mahang, tenhang, donvitinh, quicach, kichco, chebien, baoquan, phamcap, soluong, dongianguyente, dongiavnd, thanhtiennguyente, thanhtienvnd, tinhtrang, chinhanh, uid, id, mahopdong, ngayhopdong FROM BHHopDongMuaBanDMHang WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ma" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tenhang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tenhang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tenhang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_donvitinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_donvitinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="donvitinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_quicach" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_quicach" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="quicach" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kichco" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kichco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kichco" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chebien" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chebien" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chebien" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_baoquan" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_baoquan" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="baoquan" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_phamcap" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_phamcap" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phamcap" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_soluong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_soluong" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="soluong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongianguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongianguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongianguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dongiavnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_dongiavnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="dongiavnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtiennguyente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtiennguyente" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtiennguyente" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_thanhtienvnd" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_thanhtienvnd" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="thanhtienvnd" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mahopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mahopdong" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mahopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ngayhopdong" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ngayhopdong" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ngayhopdong" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_CLINIC.dbo.BHHopDongMuaBanDMHang" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="mahang" DataSetColumn="mahang" />
              <Mapping SourceColumn="tenhang" DataSetColumn="tenhang" />
              <Mapping SourceColumn="donvitinh" DataSetColumn="donvitinh" />
              <Mapping SourceColumn="quicach" DataSetColumn="quicach" />
              <Mapping SourceColumn="kichco" DataSetColumn="kichco" />
              <Mapping SourceColumn="chebien" DataSetColumn="chebien" />
              <Mapping SourceColumn="baoquan" DataSetColumn="baoquan" />
              <Mapping SourceColumn="phamcap" DataSetColumn="phamcap" />
              <Mapping SourceColumn="soluong" DataSetColumn="soluong" />
              <Mapping SourceColumn="dongianguyente" DataSetColumn="dongianguyente" />
              <Mapping SourceColumn="dongiavnd" DataSetColumn="dongiavnd" />
              <Mapping SourceColumn="thanhtiennguyente" DataSetColumn="thanhtiennguyente" />
              <Mapping SourceColumn="thanhtienvnd" DataSetColumn="thanhtienvnd" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="mahopdong" DataSetColumn="mahopdong" />
              <Mapping SourceColumn="ngayhopdong" DataSetColumn="ngayhopdong" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DMHangHoa_DonViTinhLonHonTableAdapter" GeneratorDataComponentClassName="DMHangHoa_DonViTinhLonHonTableAdapter" Name="DMHangHoa_DonViTinhLonHon" UserDataComponentName="DMHangHoa_DonViTinhLonHonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.DMHangHoa_DonViTinhLonHon" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DMHangHoa_DonViTinhLonHon] WHERE (([ma] = @Original_ma) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ([dvt] = @Original_dvt) AND ([tendvt] = @Original_tendvt) AND ((@IsNull_dvtmacdinh = 1 AND [dvtmacdinh] IS NULL) OR ([dvtmacdinh] = @Original_dvtmacdinh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtmacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DMHangHoa_DonViTinhLonHon] ([ma], [heso], [dvt], [tendvt], [dvtmacdinh], [tinhtrang], [chinhanh], [uid]) VALUES (@ma, @heso, @dvt, @tendvt, @dvtmacdinh, @tinhtrang, @chinhanh, @uid);
SELECT ma, heso, dvt, tendvt, dvtmacdinh, tinhtrang, chinhanh, uid, id FROM DMHangHoa_DonViTinhLonHon WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ma, heso, dvt, tendvt, dvtmacdinh, tinhtrang, chinhanh, uid, id FROM dbo.DMHangHoa_DonViTinhLonHon</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DMHangHoa_DonViTinhLonHon] SET [ma] = @ma, [heso] = @heso, [dvt] = @dvt, [tendvt] = @tendvt, [dvtmacdinh] = @dvtmacdinh, [tinhtrang] = @tinhtrang, [chinhanh] = @chinhanh, [uid] = @uid WHERE (([ma] = @Original_ma) AND ((@IsNull_heso = 1 AND [heso] IS NULL) OR ([heso] = @Original_heso)) AND ([dvt] = @Original_dvt) AND ([tendvt] = @Original_tendvt) AND ((@IsNull_dvtmacdinh = 1 AND [dvtmacdinh] IS NULL) OR ([dvtmacdinh] = @Original_dvtmacdinh)) AND ((@IsNull_tinhtrang = 1 AND [tinhtrang] IS NULL) OR ([tinhtrang] = @Original_tinhtrang)) AND ((@IsNull_chinhanh = 1 AND [chinhanh] IS NULL) OR ([chinhanh] = @Original_chinhanh)) AND ([uid] = @Original_uid) AND ([id] = @Original_id));
SELECT ma, heso, dvt, tendvt, dvtmacdinh, tinhtrang, chinhanh, uid, id FROM DMHangHoa_DonViTinhLonHon WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ma" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ma" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_heso" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_heso" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="heso" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tendvt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tendvt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dvtmacdinh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dvtmacdinh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dvtmacdinh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tinhtrang" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tinhtrang" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tinhtrang" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_chinhanh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_chinhanh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="chinhanh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_id" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="PCV_Clinic.dbo.DMHangHoa_DonViTinhLonHon" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@id" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ma" DataSetColumn="ma" />
              <Mapping SourceColumn="heso" DataSetColumn="heso" />
              <Mapping SourceColumn="dvt" DataSetColumn="dvt" />
              <Mapping SourceColumn="tendvt" DataSetColumn="tendvt" />
              <Mapping SourceColumn="dvtmacdinh" DataSetColumn="dvtmacdinh" />
              <Mapping SourceColumn="tinhtrang" DataSetColumn="tinhtrang" />
              <Mapping SourceColumn="chinhanh" DataSetColumn="chinhanh" />
              <Mapping SourceColumn="uid" DataSetColumn="uid" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="PCV_CLINICConnectionString (MySettings)" DbObjectName="PCV_Clinic.dbo.getSoChungTu_BHBanHang" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="getSoChungTu_BHBanHang" MethodsParameterType="CLR" Modifier="Public" Name="getSoChungTu_BHBanHang" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getSoChungTu_BHBanHang">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.getSoChungTu_BHBanHang</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@tiento" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@tungay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@denngay" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="BHBanHangChiTiet" msprop:Generator_TableClassName="BHBanHangChiTietDataTable" msprop:Generator_TableVarName="tableBHBanHangChiTiet" msprop:Generator_TablePropName="BHBanHangChiTiet" msprop:Generator_RowDeletingName="BHBanHangChiTietRowDeleting" msprop:Generator_RowChangingName="BHBanHangChiTietRowChanging" msprop:Generator_RowEvHandlerName="BHBanHangChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBanHangChiTietRowDeleted" msprop:Generator_UserTableName="BHBanHangChiTiet" msprop:Generator_RowChangedName="BHBanHangChiTietRowChanged" msprop:Generator_RowEvArgName="BHBanHangChiTietRowChangeEvent" msprop:Generator_RowClassName="BHBanHangChiTietRow">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
        <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
        <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="200" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="solo" msprop:Generator_ColumnVarNameInTable="columnsolo" msprop:Generator_ColumnPropNameInRow="solo" msprop:Generator_ColumnPropNameInTable="soloColumn" msprop:Generator_UserColumnName="solo" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="chebien" msprop:Generator_ColumnVarNameInTable="columnchebien" msprop:Generator_ColumnPropNameInRow="chebien" msprop:Generator_ColumnPropNameInTable="chebienColumn" msprop:Generator_UserColumnName="chebien" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="phamcap" msprop:Generator_ColumnVarNameInTable="columnphamcap" msprop:Generator_ColumnPropNameInRow="phamcap" msprop:Generator_ColumnPropNameInTable="phamcapColumn" msprop:Generator_UserColumnName="phamcap" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="baoquan" msprop:Generator_ColumnVarNameInTable="columnbaoquan" msprop:Generator_ColumnPropNameInRow="baoquan" msprop:Generator_ColumnPropNameInTable="baoquanColumn" msprop:Generator_UserColumnName="baoquan" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="kichco" msprop:Generator_ColumnVarNameInTable="columnkichco" msprop:Generator_ColumnPropNameInRow="kichco" msprop:Generator_ColumnPropNameInTable="kichcoColumn" msprop:Generator_UserColumnName="kichco" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="tieuchuan" msprop:Generator_ColumnVarNameInTable="columntieuchuan" msprop:Generator_ColumnPropNameInRow="tieuchuan" msprop:Generator_ColumnPropNameInTable="tieuchuanColumn" msprop:Generator_UserColumnName="tieuchuan" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="chitieu" msprop:Generator_ColumnVarNameInTable="columnchitieu" msprop:Generator_ColumnPropNameInRow="chitieu" msprop:Generator_ColumnPropNameInTable="chitieuColumn" msprop:Generator_UserColumnName="chitieu" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="hsd" msprop:Generator_ColumnVarNameInTable="columnhsd" msprop:Generator_ColumnPropNameInRow="hsd" msprop:Generator_ColumnPropNameInTable="hsdColumn" msprop:Generator_UserColumnName="hsd" type="xs:dateTime" minOccurs="0" />
        <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="soluongSO" msprop:Generator_ColumnVarNameInTable="columnsoluongSO" msprop:Generator_ColumnPropNameInRow="soluongSO" msprop:Generator_ColumnPropNameInTable="soluongSOColumn" msprop:Generator_UserColumnName="soluongSO" type="xs:decimal" minOccurs="0" />
        <xs:element name="soluonggiao" msprop:Generator_ColumnVarNameInTable="columnsoluonggiao" msprop:Generator_ColumnPropNameInRow="soluonggiao" msprop:Generator_ColumnPropNameInTable="soluonggiaoColumn" msprop:Generator_UserColumnName="soluonggiao" type="xs:decimal" minOccurs="0" />
        <xs:element name="dongianguyente" msprop:Generator_ColumnVarNameInTable="columndongianguyente" msprop:Generator_ColumnPropNameInRow="dongianguyente" msprop:Generator_ColumnPropNameInTable="dongianguyenteColumn" msprop:Generator_UserColumnName="dongianguyente" type="xs:decimal" minOccurs="0" />
        <xs:element name="dongiavnd" msprop:Generator_ColumnVarNameInTable="columndongiavnd" msprop:Generator_ColumnPropNameInRow="dongiavnd" msprop:Generator_ColumnPropNameInTable="dongiavndColumn" msprop:Generator_UserColumnName="dongiavnd" type="xs:decimal" minOccurs="0" />
        <xs:element name="thanhtiennguyente" msprop:Generator_ColumnVarNameInTable="columnthanhtiennguyente" msprop:Generator_ColumnPropNameInRow="thanhtiennguyente" msprop:Generator_ColumnPropNameInTable="thanhtiennguyenteColumn" msprop:Generator_UserColumnName="thanhtiennguyente" type="xs:decimal" minOccurs="0" />
        <xs:element name="thanhtienvnd" msprop:Generator_ColumnVarNameInTable="columnthanhtienvnd" msprop:Generator_ColumnPropNameInRow="thanhtienvnd" msprop:Generator_ColumnPropNameInTable="thanhtienvndColumn" msprop:Generator_UserColumnName="thanhtienvnd" type="xs:decimal" minOccurs="0" />
        <xs:element name="tilethueGTGT" msprop:Generator_ColumnVarNameInTable="columntilethueGTGT" msprop:Generator_ColumnPropNameInRow="tilethueGTGT" msprop:Generator_ColumnPropNameInTable="tilethueGTGTColumn" msprop:Generator_UserColumnName="tilethueGTGT" type="xs:int" minOccurs="0" />
        <xs:element name="tienthueGTGT" msprop:Generator_ColumnVarNameInTable="columntienthueGTGT" msprop:Generator_ColumnPropNameInRow="tienthueGTGT" msprop:Generator_ColumnPropNameInTable="tienthueGTGTColumn" msprop:Generator_UserColumnName="tienthueGTGT" type="xs:decimal" minOccurs="0" />
        <xs:element name="taikhoanthueGTGT" msprop:Generator_ColumnVarNameInTable="columntaikhoanthueGTGT" msprop:Generator_ColumnPropNameInRow="taikhoanthueGTGT" msprop:Generator_ColumnPropNameInTable="taikhoanthueGTGTColumn" msprop:Generator_UserColumnName="taikhoanthueGTGT" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="chiphiban" msprop:Generator_ColumnVarNameInTable="columnchiphiban" msprop:Generator_ColumnPropNameInRow="chiphiban" msprop:Generator_ColumnPropNameInTable="chiphibanColumn" msprop:Generator_UserColumnName="chiphiban" type="xs:decimal" minOccurs="0" />
        <xs:element name="tilethueNK" msprop:Generator_ColumnVarNameInTable="columntilethueNK" msprop:Generator_ColumnPropNameInRow="tilethueNK" msprop:Generator_ColumnPropNameInTable="tilethueNKColumn" msprop:Generator_UserColumnName="tilethueNK" type="xs:int" minOccurs="0" />
        <xs:element name="tienthueNK" msprop:Generator_ColumnVarNameInTable="columntienthueNK" msprop:Generator_ColumnPropNameInRow="tienthueNK" msprop:Generator_ColumnPropNameInTable="tienthueNKColumn" msprop:Generator_UserColumnName="tienthueNK" type="xs:decimal" minOccurs="0" />
        <xs:element name="taikhoanthueNK" msprop:Generator_ColumnVarNameInTable="columntaikhoanthueNK" msprop:Generator_ColumnPropNameInRow="taikhoanthueNK" msprop:Generator_ColumnPropNameInTable="taikhoanthueNKColumn" msprop:Generator_UserColumnName="taikhoanthueNK" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="taikhoanchietkhau" msprop:Generator_ColumnVarNameInTable="columntaikhoanchietkhau" msprop:Generator_ColumnPropNameInRow="taikhoanchietkhau" msprop:Generator_ColumnPropNameInTable="taikhoanchietkhauColumn" msprop:Generator_UserColumnName="taikhoanchietkhau" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="chietkhau" msprop:Generator_ColumnVarNameInTable="columnchietkhau" msprop:Generator_ColumnPropNameInRow="chietkhau" msprop:Generator_ColumnPropNameInTable="chietkhauColumn" msprop:Generator_UserColumnName="chietkhau" type="xs:int" minOccurs="0" />
        <xs:element name="nhomHD" msprop:Generator_ColumnVarNameInTable="columnnhomHD" msprop:Generator_ColumnPropNameInRow="nhomHD" msprop:Generator_ColumnPropNameInTable="nhomHDColumn" msprop:Generator_UserColumnName="nhomHD" type="xs:int" minOccurs="0" />
        <xs:element name="chenhlech" msprop:Generator_ColumnVarNameInTable="columnchenhlech" msprop:Generator_ColumnPropNameInRow="chenhlech" msprop:Generator_ColumnPropNameInTable="chenhlechColumn" msprop:Generator_UserColumnName="chenhlech" type="xs:decimal" minOccurs="0" />
        <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
        <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
        <xs:element name="kyketoan" msprop:Generator_ColumnVarNameInTable="columnkyketoan" msprop:Generator_ColumnPropNameInRow="kyketoan" msprop:Generator_ColumnPropNameInTable="kyketoanColumn" msprop:Generator_UserColumnName="kyketoan" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="200" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="diachidonvi" msprop:Generator_ColumnVarNameInTable="columndiachidonvi" msprop:Generator_ColumnPropNameInRow="diachidonvi" msprop:Generator_ColumnPropNameInTable="diachidonviColumn" msprop:Generator_UserColumnName="diachidonvi" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="200" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="mafifo" msprop:Generator_ColumnVarNameInTable="columnmafifo" msprop:Generator_ColumnPropNameInRow="mafifo" msprop:Generator_ColumnPropNameInTable="mafifoColumn" msprop:Generator_UserColumnName="mafifo" minOccurs="0">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:maxLength value="50" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="loai" msprop:Generator_ColumnVarNameInTable="columnloai" msprop:Generator_ColumnPropNameInRow="loai" msprop:Generator_ColumnPropNameInTable="loaiColumn" msprop:Generator_UserColumnName="loai" type="xs:int" minOccurs="0" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PCV_CLINICDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="PCV_CLINICDataSet" msprop:Generator_UserDSName="PCV_CLINICDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="BHBanHangChiTiet" />
        <xs:element name="BHBanHang" msprop:Generator_TableClassName="BHBanHangDataTable" msprop:Generator_TableVarName="tableBHBanHang" msprop:Generator_TablePropName="BHBanHang" msprop:Generator_RowDeletingName="BHBanHangRowDeleting" msprop:Generator_RowChangingName="BHBanHangRowChanging" msprop:Generator_RowEvHandlerName="BHBanHangRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBanHangRowDeleted" msprop:Generator_UserTableName="BHBanHang" msprop:Generator_RowChangedName="BHBanHangRowChanged" msprop:Generator_RowEvArgName="BHBanHangRowChangeEvent" msprop:Generator_RowClassName="BHBanHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="module" msprop:Generator_ColumnVarNameInTable="columnmodule" msprop:Generator_ColumnPropNameInRow="_module" msprop:Generator_ColumnPropNameInTable="moduleColumn" msprop:Generator_UserColumnName="module" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sotokhaiHQ" msprop:Generator_ColumnVarNameInTable="columnsotokhaiHQ" msprop:Generator_ColumnPropNameInRow="sotokhaiHQ" msprop:Generator_ColumnPropNameInTable="sotokhaiHQColumn" msprop:Generator_UserColumnName="sotokhaiHQ" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaytokhaiHQ" msprop:Generator_ColumnVarNameInTable="columnngaytokhaiHQ" msprop:Generator_ColumnPropNameInRow="ngaytokhaiHQ" msprop:Generator_ColumnPropNameInTable="ngaytokhaiHQColumn" msprop:Generator_UserColumnName="ngaytokhaiHQ" type="xs:dateTime" minOccurs="0" />
              <xs:element name="makhachhang" msprop:Generator_ColumnVarNameInTable="columnmakhachhang" msprop:Generator_ColumnPropNameInRow="makhachhang" msprop:Generator_ColumnPropNameInTable="makhachhangColumn" msprop:Generator_UserColumnName="makhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenkhachhang" msprop:Generator_ColumnVarNameInTable="columntenkhachhang" msprop:Generator_ColumnPropNameInRow="tenkhachhang" msprop:Generator_ColumnPropNameInTable="tenkhachhangColumn" msprop:Generator_UserColumnName="tenkhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soSO" msprop:Generator_ColumnVarNameInTable="columnsoSO" msprop:Generator_ColumnPropNameInRow="soSO" msprop:Generator_ColumnPropNameInTable="soSOColumn" msprop:Generator_UserColumnName="soSO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinhthucthanhtoan" msprop:Generator_ColumnVarNameInTable="columnhinhthucthanhtoan" msprop:Generator_ColumnPropNameInRow="hinhthucthanhtoan" msprop:Generator_ColumnPropNameInTable="hinhthucthanhtoanColumn" msprop:Generator_UserColumnName="hinhthucthanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaythanhtoan" msprop:Generator_ColumnVarNameInTable="columnngaythanhtoan" msprop:Generator_ColumnPropNameInRow="ngaythanhtoan" msprop:Generator_ColumnPropNameInTable="ngaythanhtoanColumn" msprop:Generator_UserColumnName="ngaythanhtoan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dieukiengiaohang" msprop:Generator_ColumnVarNameInTable="columndieukiengiaohang" msprop:Generator_ColumnPropNameInRow="dieukiengiaohang" msprop:Generator_ColumnPropNameInTable="dieukiengiaohangColumn" msprop:Generator_UserColumnName="dieukiengiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygiatokhaiHQ" msprop:Generator_ColumnVarNameInTable="columntygiatokhaiHQ" msprop:Generator_ColumnPropNameInRow="tygiatokhaiHQ" msprop:Generator_ColumnPropNameInTable="tygiatokhaiHQColumn" msprop:Generator_UserColumnName="tygiatokhaiHQ" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygianganhang" msprop:Generator_ColumnVarNameInTable="columntygianganhang" msprop:Generator_ColumnPropNameInRow="tygianganhang" msprop:Generator_ColumnPropNameInTable="tygianganhangColumn" msprop:Generator_UserColumnName="tygianganhang" type="xs:decimal" minOccurs="0" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienvnd" msprop:Generator_ColumnVarNameInTable="columnthanhtienvnd" msprop:Generator_ColumnPropNameInRow="thanhtienvnd" msprop:Generator_ColumnPropNameInTable="thanhtienvndColumn" msprop:Generator_UserColumnName="thanhtienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="phuongtienvanchuyen" msprop:Generator_ColumnVarNameInTable="columnphuongtienvanchuyen" msprop:Generator_ColumnPropNameInRow="phuongtienvanchuyen" msprop:Generator_ColumnPropNameInTable="phuongtienvanchuyenColumn" msprop:Generator_UserColumnName="phuongtienvanchuyen" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soxe" msprop:Generator_ColumnVarNameInTable="columnsoxe" msprop:Generator_ColumnPropNameInRow="soxe" msprop:Generator_ColumnPropNameInTable="soxeColumn" msprop:Generator_UserColumnName="soxe" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="socont" msprop:Generator_ColumnVarNameInTable="columnsocont" msprop:Generator_ColumnPropNameInRow="socont" msprop:Generator_ColumnPropNameInTable="socontColumn" msprop:Generator_UserColumnName="socont" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sodongoi" msprop:Generator_ColumnVarNameInTable="columnsodongoi" msprop:Generator_ColumnPropNameInRow="sodongoi" msprop:Generator_ColumnPropNameInTable="sodongoiColumn" msprop:Generator_UserColumnName="sodongoi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nhanviensale" msprop:Generator_ColumnVarNameInTable="columnnhanviensale" msprop:Generator_ColumnPropNameInRow="nhanviensale" msprop:Generator_ColumnPropNameInTable="nhanviensaleColumn" msprop:Generator_UserColumnName="nhanviensale" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phongban" msprop:Generator_ColumnVarNameInTable="columnphongban" msprop:Generator_ColumnPropNameInRow="phongban" msprop:Generator_ColumnPropNameInTable="phongbanColumn" msprop:Generator_UserColumnName="phongban" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="machuongtrinhkhuyenmai" msprop:Generator_ColumnVarNameInTable="columnmachuongtrinhkhuyenmai" msprop:Generator_ColumnPropNameInRow="machuongtrinhkhuyenmai" msprop:Generator_ColumnPropNameInTable="machuongtrinhkhuyenmaiColumn" msprop:Generator_UserColumnName="machuongtrinhkhuyenmai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="banggia" msprop:Generator_ColumnVarNameInTable="columnbanggia" msprop:Generator_ColumnPropNameInRow="banggia" msprop:Generator_ColumnPropNameInTable="banggiaColumn" msprop:Generator_UserColumnName="banggia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohopdong" msprop:Generator_ColumnVarNameInTable="columnsohopdong" msprop:Generator_ColumnPropNameInRow="sohopdong" msprop:Generator_ColumnPropNameInTable="sohopdongColumn" msprop:Generator_UserColumnName="sohopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kyketoan" msprop:Generator_ColumnVarNameInTable="columnkyketoan" msprop:Generator_ColumnPropNameInRow="kyketoan" msprop:Generator_ColumnPropNameInTable="kyketoanColumn" msprop:Generator_UserColumnName="kyketoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loai" msprop:Generator_ColumnVarNameInTable="columnloai" msprop:Generator_ColumnPropNameInRow="loai" msprop:Generator_ColumnPropNameInTable="loaiColumn" msprop:Generator_UserColumnName="loai" type="xs:int" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DoSinhHieu" msprop:Generator_TableClassName="DoSinhHieuDataTable" msprop:Generator_TableVarName="tableDoSinhHieu" msprop:Generator_TablePropName="DoSinhHieu" msprop:Generator_RowDeletingName="DoSinhHieuRowDeleting" msprop:Generator_RowChangingName="DoSinhHieuRowChanging" msprop:Generator_RowEvHandlerName="DoSinhHieuRowChangeEventHandler" msprop:Generator_RowDeletedName="DoSinhHieuRowDeleted" msprop:Generator_UserTableName="DoSinhHieu" msprop:Generator_RowChangedName="DoSinhHieuRowChanged" msprop:Generator_RowEvArgName="DoSinhHieuRowChangeEvent" msprop:Generator_RowClassName="DoSinhHieuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masophieu" msprop:Generator_ColumnVarNameInTable="columnmasophieu" msprop:Generator_ColumnPropNameInRow="masophieu" msprop:Generator_ColumnPropNameInTable="masophieuColumn" msprop:Generator_UserColumnName="masophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gioitinh" msprop:Generator_ColumnVarNameInTable="columngioitinh" msprop:Generator_ColumnPropNameInRow="gioitinh" msprop:Generator_ColumnPropNameInTable="gioitinhColumn" msprop:Generator_UserColumnName="gioitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaysinh" msprop:Generator_ColumnVarNameInTable="columnngaysinh" msprop:Generator_ColumnPropNameInRow="ngaysinh" msprop:Generator_ColumnPropNameInTable="ngaysinhColumn" msprop:Generator_UserColumnName="ngaysinh" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tuoi" msprop:Generator_ColumnVarNameInTable="columntuoi" msprop:Generator_ColumnPropNameInRow="tuoi" msprop:Generator_ColumnPropNameInTable="tuoiColumn" msprop:Generator_UserColumnName="tuoi" type="xs:int" minOccurs="0" />
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaydo" msprop:Generator_ColumnVarNameInTable="columnngaydo" msprop:Generator_ColumnPropNameInRow="ngaydo" msprop:Generator_ColumnPropNameInTable="ngaydoColumn" msprop:Generator_UserColumnName="ngaydo" type="xs:dateTime" minOccurs="0" />
              <xs:element name="mach" msprop:Generator_ColumnVarNameInTable="columnmach" msprop:Generator_ColumnPropNameInRow="mach" msprop:Generator_ColumnPropNameInTable="machColumn" msprop:Generator_UserColumnName="mach" type="xs:int" minOccurs="0" />
              <xs:element name="nhietdo" msprop:Generator_ColumnVarNameInTable="columnnhietdo" msprop:Generator_ColumnPropNameInRow="nhietdo" msprop:Generator_ColumnPropNameInTable="nhietdoColumn" msprop:Generator_UserColumnName="nhietdo" type="xs:int" minOccurs="0" />
              <xs:element name="huyetap" msprop:Generator_ColumnVarNameInTable="columnhuyetap" msprop:Generator_ColumnPropNameInRow="huyetap" msprop:Generator_ColumnPropNameInTable="huyetapColumn" msprop:Generator_UserColumnName="huyetap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nhiptho" msprop:Generator_ColumnVarNameInTable="columnnhiptho" msprop:Generator_ColumnPropNameInRow="nhiptho" msprop:Generator_ColumnPropNameInTable="nhipthoColumn" msprop:Generator_UserColumnName="nhiptho" type="xs:int" minOccurs="0" />
              <xs:element name="cannang" msprop:Generator_ColumnVarNameInTable="columncannang" msprop:Generator_ColumnPropNameInRow="cannang" msprop:Generator_ColumnPropNameInTable="cannangColumn" msprop:Generator_UserColumnName="cannang" type="xs:int" minOccurs="0" />
              <xs:element name="chieucao" msprop:Generator_ColumnVarNameInTable="columnchieucao" msprop:Generator_ColumnPropNameInRow="chieucao" msprop:Generator_ColumnPropNameInTable="chieucaoColumn" msprop:Generator_UserColumnName="chieucao" type="xs:int" minOccurs="0" />
              <xs:element name="vongbung" msprop:Generator_ColumnVarNameInTable="columnvongbung" msprop:Generator_ColumnPropNameInRow="vongbung" msprop:Generator_ColumnPropNameInTable="vongbungColumn" msprop:Generator_UserColumnName="vongbung" type="xs:int" minOccurs="0" />
              <xs:element name="bmi" msprop:Generator_ColumnVarNameInTable="columnbmi" msprop:Generator_ColumnPropNameInRow="bmi" msprop:Generator_ColumnPropNameInTable="bmiColumn" msprop:Generator_UserColumnName="bmi" type="xs:decimal" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="sobhyt" msprop:Generator_ColumnVarNameInTable="columnsobhyt" msprop:Generator_ColumnPropNameInRow="sobhyt" msprop:Generator_ColumnPropNameInTable="sobhytColumn" msprop:Generator_UserColumnName="sobhyt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hanbhyt" msprop:Generator_ColumnVarNameInTable="columnhanbhyt" msprop:Generator_ColumnPropNameInRow="hanbhyt" msprop:Generator_ColumnPropNameInTable="hanbhytColumn" msprop:Generator_UserColumnName="hanbhyt" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DoSinhHieuTienSuBenh" msprop:Generator_TableClassName="DoSinhHieuTienSuBenhDataTable" msprop:Generator_TableVarName="tableDoSinhHieuTienSuBenh" msprop:Generator_TablePropName="DoSinhHieuTienSuBenh" msprop:Generator_RowDeletingName="DoSinhHieuTienSuBenhRowDeleting" msprop:Generator_RowChangingName="DoSinhHieuTienSuBenhRowChanging" msprop:Generator_RowEvHandlerName="DoSinhHieuTienSuBenhRowChangeEventHandler" msprop:Generator_RowDeletedName="DoSinhHieuTienSuBenhRowDeleted" msprop:Generator_UserTableName="DoSinhHieuTienSuBenh" msprop:Generator_RowChangedName="DoSinhHieuTienSuBenhRowChanged" msprop:Generator_RowEvArgName="DoSinhHieuTienSuBenhRowChangeEvent" msprop:Generator_RowClassName="DoSinhHieuTienSuBenhRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masophieu" msprop:Generator_ColumnVarNameInTable="columnmasophieu" msprop:Generator_ColumnPropNameInRow="masophieu" msprop:Generator_ColumnPropNameInTable="masophieuColumn" msprop:Generator_UserColumnName="masophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenh" msprop:Generator_ColumnVarNameInTable="columnmabenh" msprop:Generator_ColumnPropNameInRow="mabenh" msprop:Generator_ColumnPropNameInTable="mabenhColumn" msprop:Generator_UserColumnName="mabenh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenbenh" msprop:Generator_ColumnVarNameInTable="columntenbenh" msprop:Generator_ColumnPropNameInRow="tenbenh" msprop:Generator_ColumnPropNameInTable="tenbenhColumn" msprop:Generator_UserColumnName="tenbenh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KHHangHoa" msprop:Generator_TableClassName="KHHangHoaDataTable" msprop:Generator_TableVarName="tableKHHangHoa" msprop:Generator_TablePropName="KHHangHoa" msprop:Generator_RowDeletingName="KHHangHoaRowDeleting" msprop:Generator_RowChangingName="KHHangHoaRowChanging" msprop:Generator_RowEvHandlerName="KHHangHoaRowChangeEventHandler" msprop:Generator_RowDeletedName="KHHangHoaRowDeleted" msprop:Generator_UserTableName="KHHangHoa" msprop:Generator_RowChangedName="KHHangHoaRowChanged" msprop:Generator_RowEvArgName="KHHangHoaRowChangeEvent" msprop:Generator_RowClassName="KHHangHoaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="module" msprop:Generator_ColumnVarNameInTable="columnmodule" msprop:Generator_ColumnPropNameInRow="_module" msprop:Generator_ColumnPropNameInTable="moduleColumn" msprop:Generator_UserColumnName="module" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tennguoigiaodich" msprop:Generator_ColumnVarNameInTable="columntennguoigiaodich" msprop:Generator_ColumnPropNameInRow="tennguoigiaodich" msprop:Generator_ColumnPropNameInTable="tennguoigiaodichColumn" msprop:Generator_UserColumnName="tennguoigiaodich" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabophan" msprop:Generator_ColumnVarNameInTable="columnmabophan" msprop:Generator_ColumnPropNameInRow="mabophan" msprop:Generator_ColumnPropNameInTable="mabophanColumn" msprop:Generator_UserColumnName="mabophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madoituong" msprop:Generator_ColumnVarNameInTable="columnmadoituong" msprop:Generator_ColumnPropNameInRow="madoituong" msprop:Generator_ColumnPropNameInTable="madoituongColumn" msprop:Generator_UserColumnName="madoituong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendoituong" msprop:Generator_ColumnVarNameInTable="columntendoituong" msprop:Generator_ColumnPropNameInRow="tendoituong" msprop:Generator_ColumnPropNameInTable="tendoituongColumn" msprop:Generator_UserColumnName="tendoituong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mansx" msprop:Generator_ColumnVarNameInTable="columnmansx" msprop:Generator_ColumnPropNameInRow="mansx" msprop:Generator_ColumnPropNameInTable="mansxColumn" msprop:Generator_UserColumnName="mansx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tennsx" msprop:Generator_ColumnVarNameInTable="columntennsx" msprop:Generator_ColumnPropNameInRow="tennsx" msprop:Generator_ColumnPropNameInTable="tennsxColumn" msprop:Generator_UserColumnName="tennsx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachinsx" msprop:Generator_ColumnVarNameInTable="columndiachinsx" msprop:Generator_ColumnPropNameInRow="diachinsx" msprop:Generator_ColumnPropNameInTable="diachinsxColumn" msprop:Generator_UserColumnName="diachinsx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohopdong" msprop:Generator_ColumnVarNameInTable="columnsohopdong" msprop:Generator_ColumnPropNameInRow="sohopdong" msprop:Generator_ColumnPropNameInTable="sohopdongColumn" msprop:Generator_UserColumnName="sohopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soSO" msprop:Generator_ColumnVarNameInTable="columnsoSO" msprop:Generator_ColumnPropNameInRow="soSO" msprop:Generator_ColumnPropNameInTable="soSOColumn" msprop:Generator_UserColumnName="soSO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soPO" msprop:Generator_ColumnVarNameInTable="columnsoPO" msprop:Generator_ColumnPropNameInRow="soPO" msprop:Generator_ColumnPropNameInTable="soPOColumn" msprop:Generator_UserColumnName="soPO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinhthucthanhtoan" msprop:Generator_ColumnVarNameInTable="columnhinhthucthanhtoan" msprop:Generator_ColumnPropNameInRow="hinhthucthanhtoan" msprop:Generator_ColumnPropNameInTable="hinhthucthanhtoanColumn" msprop:Generator_UserColumnName="hinhthucthanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaythanhtoan" msprop:Generator_ColumnVarNameInTable="columnngaythanhtoan" msprop:Generator_ColumnPropNameInRow="ngaythanhtoan" msprop:Generator_ColumnPropNameInTable="ngaythanhtoanColumn" msprop:Generator_UserColumnName="ngaythanhtoan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="dieukiengiaohang" msprop:Generator_ColumnVarNameInTable="columndieukiengiaohang" msprop:Generator_ColumnPropNameInRow="dieukiengiaohang" msprop:Generator_ColumnPropNameInTable="dieukiengiaohangColumn" msprop:Generator_UserColumnName="dieukiengiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygiaTKHQ" msprop:Generator_ColumnVarNameInTable="columntygiaTKHQ" msprop:Generator_ColumnPropNameInRow="tygiaTKHQ" msprop:Generator_ColumnPropNameInTable="tygiaTKHQColumn" msprop:Generator_UserColumnName="tygiaTKHQ" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sogiayphepnhapkhau" msprop:Generator_ColumnVarNameInTable="columnsogiayphepnhapkhau" msprop:Generator_ColumnPropNameInRow="sogiayphepnhapkhau" msprop:Generator_ColumnPropNameInTable="sogiayphepnhapkhauColumn" msprop:Generator_UserColumnName="sogiayphepnhapkhau" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotokhaihaiquan" msprop:Generator_ColumnVarNameInTable="columnsotokhaihaiquan" msprop:Generator_ColumnPropNameInRow="sotokhaihaiquan" msprop:Generator_ColumnPropNameInTable="sotokhaihaiquanColumn" msprop:Generator_UserColumnName="sotokhaihaiquan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaytokhaihaiquan" msprop:Generator_ColumnVarNameInTable="columnngaytokhaihaiquan" msprop:Generator_ColumnPropNameInRow="ngaytokhaihaiquan" msprop:Generator_ColumnPropNameInTable="ngaytokhaihaiquanColumn" msprop:Generator_UserColumnName="ngaytokhaihaiquan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makho" msprop:Generator_ColumnVarNameInTable="columnmakho" msprop:Generator_ColumnPropNameInRow="makho" msprop:Generator_ColumnPropNameInTable="makhoColumn" msprop:Generator_UserColumnName="makho" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khoanmucphi" msprop:Generator_ColumnVarNameInTable="columnkhoanmucphi" msprop:Generator_ColumnPropNameInRow="khoanmucphi" msprop:Generator_ColumnPropNameInTable="khoanmucphiColumn" msprop:Generator_UserColumnName="khoanmucphi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sothamchieu" msprop:Generator_ColumnVarNameInTable="columnsothamchieu" msprop:Generator_ColumnPropNameInRow="sothamchieu" msprop:Generator_ColumnPropNameInTable="sothamchieuColumn" msprop:Generator_UserColumnName="sothamchieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" minOccurs="0" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="lenhsanxuat" msprop:Generator_ColumnVarNameInTable="columnlenhsanxuat" msprop:Generator_ColumnPropNameInRow="lenhsanxuat" msprop:Generator_ColumnPropNameInTable="lenhsanxuatColumn" msprop:Generator_UserColumnName="lenhsanxuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maCTKM" msprop:Generator_ColumnVarNameInTable="columnmaCTKM" msprop:Generator_ColumnPropNameInRow="maCTKM" msprop:Generator_ColumnPropNameInTable="maCTKMColumn" msprop:Generator_UserColumnName="maCTKM" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kyketoan" msprop:Generator_ColumnVarNameInTable="columnkyketoan" msprop:Generator_ColumnPropNameInRow="kyketoan" msprop:Generator_ColumnPropNameInTable="kyketoanColumn" msprop:Generator_UserColumnName="kyketoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loai" msprop:Generator_ColumnVarNameInTable="columnloai" msprop:Generator_ColumnPropNameInRow="loai" msprop:Generator_ColumnPropNameInTable="loaiColumn" msprop:Generator_UserColumnName="loai" type="xs:int" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KHHangHoaChiTiet" msprop:Generator_TableClassName="KHHangHoaChiTietDataTable" msprop:Generator_TableVarName="tableKHHangHoaChiTiet" msprop:Generator_TablePropName="KHHangHoaChiTiet" msprop:Generator_RowDeletingName="KHHangHoaChiTietRowDeleting" msprop:Generator_RowChangingName="KHHangHoaChiTietRowChanging" msprop:Generator_RowEvHandlerName="KHHangHoaChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="KHHangHoaChiTietRowDeleted" msprop:Generator_UserTableName="KHHangHoaChiTiet" msprop:Generator_RowChangedName="KHHangHoaChiTietRowChanged" msprop:Generator_RowEvArgName="KHHangHoaChiTietRowChangeEvent" msprop:Generator_RowClassName="KHHangHoaChiTietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhonhap" msprop:Generator_ColumnVarNameInTable="columnmakhonhap" msprop:Generator_ColumnPropNameInRow="makhonhap" msprop:Generator_ColumnPropNameInTable="makhonhapColumn" msprop:Generator_UserColumnName="makhonhap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhoxuat" msprop:Generator_ColumnVarNameInTable="columnmakhoxuat" msprop:Generator_ColumnPropNameInRow="makhoxuat" msprop:Generator_ColumnPropNameInTable="makhoxuatColumn" msprop:Generator_UserColumnName="makhoxuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="vitri" msprop:Generator_ColumnVarNameInTable="columnvitri" msprop:Generator_ColumnPropNameInRow="vitri" msprop:Generator_ColumnPropNameInTable="vitriColumn" msprop:Generator_UserColumnName="vitri" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="solo" msprop:Generator_ColumnVarNameInTable="columnsolo" msprop:Generator_ColumnPropNameInRow="solo" msprop:Generator_ColumnPropNameInTable="soloColumn" msprop:Generator_UserColumnName="solo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sologoc" msprop:Generator_ColumnVarNameInTable="columnsologoc" msprop:Generator_ColumnPropNameInRow="sologoc" msprop:Generator_ColumnPropNameInTable="sologocColumn" msprop:Generator_UserColumnName="sologoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tieuchuan" msprop:Generator_ColumnVarNameInTable="columntieuchuan" msprop:Generator_ColumnPropNameInRow="tieuchuan" msprop:Generator_ColumnPropNameInTable="tieuchuanColumn" msprop:Generator_UserColumnName="tieuchuan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chitieu" msprop:Generator_ColumnVarNameInTable="columnchitieu" msprop:Generator_ColumnPropNameInRow="chitieu" msprop:Generator_ColumnPropNameInTable="chitieuColumn" msprop:Generator_UserColumnName="chitieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hsd" msprop:Generator_ColumnVarNameInTable="columnhsd" msprop:Generator_ColumnPropNameInRow="hsd" msprop:Generator_ColumnPropNameInTable="hsdColumn" msprop:Generator_UserColumnName="hsd" type="xs:dateTime" minOccurs="0" />
              <xs:element name="soluongDN" msprop:Generator_ColumnVarNameInTable="columnsoluongDN" msprop:Generator_ColumnPropNameInRow="soluongDN" msprop:Generator_ColumnPropNameInTable="soluongDNColumn" msprop:Generator_UserColumnName="soluongDN" type="xs:decimal" minOccurs="0" />
              <xs:element name="soluonggiaodich" msprop:Generator_ColumnVarNameInTable="columnsoluonggiaodich" msprop:Generator_ColumnPropNameInRow="soluonggiaodich" msprop:Generator_ColumnPropNameInTable="soluonggiaodichColumn" msprop:Generator_UserColumnName="soluonggiaodich" type="xs:decimal" minOccurs="0" />
              <xs:element name="soPO" msprop:Generator_ColumnVarNameInTable="columnsoPO" msprop:Generator_ColumnPropNameInRow="soPO" msprop:Generator_ColumnPropNameInTable="soPOColumn" msprop:Generator_UserColumnName="soPO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soSO" msprop:Generator_ColumnVarNameInTable="columnsoSO" msprop:Generator_ColumnPropNameInRow="soSO" msprop:Generator_ColumnPropNameInTable="soSOColumn" msprop:Generator_UserColumnName="soSO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lenhsanxuat" msprop:Generator_ColumnVarNameInTable="columnlenhsanxuat" msprop:Generator_ColumnPropNameInRow="lenhsanxuat" msprop:Generator_ColumnPropNameInTable="lenhsanxuatColumn" msprop:Generator_UserColumnName="lenhsanxuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dongiangoaite" msprop:Generator_ColumnVarNameInTable="columndongiangoaite" msprop:Generator_ColumnPropNameInRow="dongiangoaite" msprop:Generator_ColumnPropNameInTable="dongiangoaiteColumn" msprop:Generator_UserColumnName="dongiangoaite" type="xs:decimal" minOccurs="0" />
              <xs:element name="dongiavnd" msprop:Generator_ColumnVarNameInTable="columndongiavnd" msprop:Generator_ColumnPropNameInRow="dongiavnd" msprop:Generator_ColumnPropNameInTable="dongiavndColumn" msprop:Generator_UserColumnName="dongiavnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienngoaite" msprop:Generator_ColumnVarNameInTable="columnthanhtienngoaite" msprop:Generator_ColumnPropNameInRow="thanhtienngoaite" msprop:Generator_ColumnPropNameInTable="thanhtienngoaiteColumn" msprop:Generator_UserColumnName="thanhtienngoaite" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienvnd" msprop:Generator_ColumnVarNameInTable="columnthanhtienvnd" msprop:Generator_ColumnPropNameInRow="thanhtienvnd" msprop:Generator_ColumnPropNameInTable="thanhtienvndColumn" msprop:Generator_UserColumnName="thanhtienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="tilethueGTGT" msprop:Generator_ColumnVarNameInTable="columntilethueGTGT" msprop:Generator_ColumnPropNameInRow="tilethueGTGT" msprop:Generator_ColumnPropNameInTable="tilethueGTGTColumn" msprop:Generator_UserColumnName="tilethueGTGT" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienthueGTGT" msprop:Generator_ColumnVarNameInTable="columntienthueGTGT" msprop:Generator_ColumnPropNameInRow="tienthueGTGT" msprop:Generator_ColumnPropNameInTable="tienthueGTGTColumn" msprop:Generator_UserColumnName="tienthueGTGT" type="xs:decimal" minOccurs="0" />
              <xs:element name="taikhoanthueGTGT" msprop:Generator_ColumnVarNameInTable="columntaikhoanthueGTGT" msprop:Generator_ColumnPropNameInRow="taikhoanthueGTGT" msprop:Generator_ColumnPropNameInTable="taikhoanthueGTGTColumn" msprop:Generator_UserColumnName="taikhoanthueGTGT" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chiphimua" msprop:Generator_ColumnVarNameInTable="columnchiphimua" msprop:Generator_ColumnPropNameInRow="chiphimua" msprop:Generator_ColumnPropNameInTable="chiphimuaColumn" msprop:Generator_UserColumnName="chiphimua" type="xs:decimal" minOccurs="0" />
              <xs:element name="tilethueNK" msprop:Generator_ColumnVarNameInTable="columntilethueNK" msprop:Generator_ColumnPropNameInRow="tilethueNK" msprop:Generator_ColumnPropNameInTable="tilethueNKColumn" msprop:Generator_UserColumnName="tilethueNK" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienthueNK" msprop:Generator_ColumnVarNameInTable="columntienthueNK" msprop:Generator_ColumnPropNameInRow="tienthueNK" msprop:Generator_ColumnPropNameInTable="tienthueNKColumn" msprop:Generator_UserColumnName="tienthueNK" type="xs:decimal" minOccurs="0" />
              <xs:element name="taikhoanthueNK" msprop:Generator_ColumnVarNameInTable="columntaikhoanthueNK" msprop:Generator_ColumnPropNameInRow="taikhoanthueNK" msprop:Generator_ColumnPropNameInTable="taikhoanthueNKColumn" msprop:Generator_UserColumnName="taikhoanthueNK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="giavonnhap" msprop:Generator_ColumnVarNameInTable="columngiavonnhap" msprop:Generator_ColumnPropNameInRow="giavonnhap" msprop:Generator_ColumnPropNameInTable="giavonnhapColumn" msprop:Generator_UserColumnName="giavonnhap" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtiennhap" msprop:Generator_ColumnVarNameInTable="columnthanhtiennhap" msprop:Generator_ColumnPropNameInRow="thanhtiennhap" msprop:Generator_ColumnPropNameInTable="thanhtiennhapColumn" msprop:Generator_UserColumnName="thanhtiennhap" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienxuat" msprop:Generator_ColumnVarNameInTable="columnthanhtienxuat" msprop:Generator_ColumnPropNameInRow="thanhtienxuat" msprop:Generator_ColumnPropNameInTable="thanhtienxuatColumn" msprop:Generator_UserColumnName="thanhtienxuat" type="xs:decimal" minOccurs="0" />
              <xs:element name="maFIFO" msprop:Generator_ColumnVarNameInTable="columnmaFIFO" msprop:Generator_ColumnPropNameInRow="maFIFO" msprop:Generator_ColumnPropNameInTable="maFIFOColumn" msprop:Generator_UserColumnName="maFIFO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doituong" msprop:Generator_ColumnVarNameInTable="columndoituong" msprop:Generator_ColumnPropNameInRow="doituong" msprop:Generator_ColumnPropNameInTable="doituongColumn" msprop:Generator_UserColumnName="doituong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguonvon" msprop:Generator_ColumnVarNameInTable="columnnguonvon" msprop:Generator_ColumnPropNameInRow="nguonvon" msprop:Generator_ColumnPropNameInTable="nguonvonColumn" msprop:Generator_UserColumnName="nguonvon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahangmuc" msprop:Generator_ColumnVarNameInTable="columnmahangmuc" msprop:Generator_ColumnPropNameInRow="mahangmuc" msprop:Generator_ColumnPropNameInTable="mahangmucColumn" msprop:Generator_UserColumnName="mahangmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="kyketoan" msprop:Generator_ColumnVarNameInTable="columnkyketoan" msprop:Generator_ColumnPropNameInRow="kyketoan" msprop:Generator_ColumnPropNameInTable="kyketoanColumn" msprop:Generator_UserColumnName="kyketoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MHDonDatHang" msprop:Generator_TableClassName="MHDonDatHangDataTable" msprop:Generator_TableVarName="tableMHDonDatHang" msprop:Generator_TablePropName="MHDonDatHang" msprop:Generator_RowDeletingName="MHDonDatHangRowDeleting" msprop:Generator_RowChangingName="MHDonDatHangRowChanging" msprop:Generator_RowEvHandlerName="MHDonDatHangRowChangeEventHandler" msprop:Generator_RowDeletedName="MHDonDatHangRowDeleted" msprop:Generator_UserTableName="MHDonDatHang" msprop:Generator_RowChangedName="MHDonDatHangRowChanged" msprop:Generator_RowEvArgName="MHDonDatHangRowChangeEvent" msprop:Generator_RowClassName="MHDonDatHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madondathang" msprop:Generator_ColumnVarNameInTable="columnmadondathang" msprop:Generator_ColumnPropNameInRow="madondathang" msprop:Generator_ColumnPropNameInTable="madondathangColumn" msprop:Generator_UserColumnName="madondathang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="mancc" msprop:Generator_ColumnVarNameInTable="columnmancc" msprop:Generator_ColumnPropNameInRow="mancc" msprop:Generator_ColumnPropNameInTable="manccColumn" msprop:Generator_UserColumnName="mancc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenncc" msprop:Generator_ColumnVarNameInTable="columntenncc" msprop:Generator_ColumnPropNameInRow="tenncc" msprop:Generator_ColumnPropNameInTable="tennccColumn" msprop:Generator_UserColumnName="tenncc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachincc" msprop:Generator_ColumnVarNameInTable="columndiachincc" msprop:Generator_ColumnPropNameInRow="diachincc" msprop:Generator_ColumnPropNameInTable="diachinccColumn" msprop:Generator_UserColumnName="diachincc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mansx" msprop:Generator_ColumnVarNameInTable="columnmansx" msprop:Generator_ColumnPropNameInRow="mansx" msprop:Generator_ColumnPropNameInTable="mansxColumn" msprop:Generator_UserColumnName="mansx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tennsx" msprop:Generator_ColumnVarNameInTable="columntennsx" msprop:Generator_ColumnPropNameInRow="tennsx" msprop:Generator_ColumnPropNameInTable="tennsxColumn" msprop:Generator_UserColumnName="tennsx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachinsx" msprop:Generator_ColumnVarNameInTable="columndiachinsx" msprop:Generator_ColumnPropNameInRow="diachinsx" msprop:Generator_ColumnPropNameInTable="diachinsxColumn" msprop:Generator_UserColumnName="diachinsx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quocgiansx" msprop:Generator_ColumnVarNameInTable="columnquocgiansx" msprop:Generator_ColumnPropNameInRow="quocgiansx" msprop:Generator_ColumnPropNameInTable="quocgiansxColumn" msprop:Generator_UserColumnName="quocgiansx" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dieukiengiaohang" msprop:Generator_ColumnVarNameInTable="columndieukiengiaohang" msprop:Generator_ColumnPropNameInRow="dieukiengiaohang" msprop:Generator_ColumnPropNameInTable="dieukiengiaohangColumn" msprop:Generator_UserColumnName="dieukiengiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dieukienthanhtoan" msprop:Generator_ColumnVarNameInTable="columndieukienthanhtoan" msprop:Generator_ColumnPropNameInRow="dieukienthanhtoan" msprop:Generator_ColumnPropNameInTable="dieukienthanhtoanColumn" msprop:Generator_UserColumnName="dieukienthanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thoigiangiaohang" msprop:Generator_ColumnVarNameInTable="columnthoigiangiaohang" msprop:Generator_ColumnPropNameInRow="thoigiangiaohang" msprop:Generator_ColumnPropNameInTable="thoigiangiaohangColumn" msprop:Generator_UserColumnName="thoigiangiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hinhthucgiaohang" msprop:Generator_ColumnVarNameInTable="columnhinhthucgiaohang" msprop:Generator_ColumnPropNameInRow="hinhthucgiaohang" msprop:Generator_ColumnPropNameInTable="hinhthucgiaohangColumn" msprop:Generator_UserColumnName="hinhthucgiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaidondathang" msprop:Generator_ColumnVarNameInTable="columnloaidondathang" msprop:Generator_ColumnPropNameInRow="loaidondathang" msprop:Generator_ColumnPropNameInTable="loaidondathangColumn" msprop:Generator_UserColumnName="loaidondathang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MHDonDatHangChiTiet" msprop:Generator_TableClassName="MHDonDatHangChiTietDataTable" msprop:Generator_TableVarName="tableMHDonDatHangChiTiet" msprop:Generator_TablePropName="MHDonDatHangChiTiet" msprop:Generator_RowDeletingName="MHDonDatHangChiTietRowDeleting" msprop:Generator_RowChangingName="MHDonDatHangChiTietRowChanging" msprop:Generator_RowEvHandlerName="MHDonDatHangChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="MHDonDatHangChiTietRowDeleted" msprop:Generator_UserTableName="MHDonDatHangChiTiet" msprop:Generator_RowChangedName="MHDonDatHangChiTietRowChanged" msprop:Generator_RowEvArgName="MHDonDatHangChiTietRowChangeEvent" msprop:Generator_RowClassName="MHDonDatHangChiTietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kichco" msprop:Generator_ColumnVarNameInTable="columnkichco" msprop:Generator_ColumnPropNameInRow="kichco" msprop:Generator_ColumnPropNameInTable="kichcoColumn" msprop:Generator_UserColumnName="kichco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chebien" msprop:Generator_ColumnVarNameInTable="columnchebien" msprop:Generator_ColumnPropNameInRow="chebien" msprop:Generator_ColumnPropNameInTable="chebienColumn" msprop:Generator_UserColumnName="chebien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="baoquan" msprop:Generator_ColumnVarNameInTable="columnbaoquan" msprop:Generator_ColumnPropNameInRow="baoquan" msprop:Generator_ColumnPropNameInTable="baoquanColumn" msprop:Generator_UserColumnName="baoquan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phamcap" msprop:Generator_ColumnVarNameInTable="columnphamcap" msprop:Generator_ColumnPropNameInRow="phamcap" msprop:Generator_ColumnPropNameInTable="phamcapColumn" msprop:Generator_UserColumnName="phamcap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="gianguyente" msprop:Generator_ColumnVarNameInTable="columngianguyente" msprop:Generator_ColumnPropNameInRow="gianguyente" msprop:Generator_ColumnPropNameInTable="gianguyenteColumn" msprop:Generator_UserColumnName="gianguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="giavnd" msprop:Generator_ColumnVarNameInTable="columngiavnd" msprop:Generator_ColumnPropNameInRow="giavnd" msprop:Generator_ColumnPropNameInTable="giavndColumn" msprop:Generator_UserColumnName="giavnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtiennguyente" msprop:Generator_ColumnVarNameInTable="columnthanhtiennguyente" msprop:Generator_ColumnPropNameInRow="thanhtiennguyente" msprop:Generator_ColumnPropNameInTable="thanhtiennguyenteColumn" msprop:Generator_UserColumnName="thanhtiennguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienvnd" msprop:Generator_ColumnVarNameInTable="columnthanhtienvnd" msprop:Generator_ColumnPropNameInRow="thanhtienvnd" msprop:Generator_ColumnPropNameInTable="thanhtienvndColumn" msprop:Generator_UserColumnName="thanhtienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="madondathang" msprop:Generator_ColumnVarNameInTable="columnmadondathang" msprop:Generator_ColumnPropNameInRow="madondathang" msprop:Generator_ColumnPropNameInTable="madondathangColumn" msprop:Generator_UserColumnName="madondathang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenh" msprop:Generator_TableClassName="PhieuKhamBenhDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenh" msprop:Generator_TablePropName="PhieuKhamBenh" msprop:Generator_RowDeletingName="PhieuKhamBenhRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenh" msprop:Generator_RowChangedName="PhieuKhamBenhRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaykham" msprop:Generator_ColumnVarNameInTable="columnngaykham" msprop:Generator_ColumnPropNameInRow="ngaykham" msprop:Generator_ColumnPropNameInTable="ngaykhamColumn" msprop:Generator_UserColumnName="ngaykham" type="xs:dateTime" minOccurs="0" />
              <xs:element name="bacsi" msprop:Generator_ColumnVarNameInTable="columnbacsi" msprop:Generator_ColumnPropNameInRow="bacsi" msprop:Generator_ColumnPropNameInTable="bacsiColumn" msprop:Generator_UserColumnName="bacsi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenbenhnhan" msprop:Generator_ColumnVarNameInTable="columntenbenhnhan" msprop:Generator_ColumnPropNameInRow="tenbenhnhan" msprop:Generator_ColumnPropNameInTable="tenbenhnhanColumn" msprop:Generator_UserColumnName="tenbenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tuoi" msprop:Generator_ColumnVarNameInTable="columntuoi" msprop:Generator_ColumnPropNameInRow="tuoi" msprop:Generator_ColumnPropNameInTable="tuoiColumn" msprop:Generator_UserColumnName="tuoi" type="xs:int" minOccurs="0" />
              <xs:element name="gioitinh" msprop:Generator_ColumnVarNameInTable="columngioitinh" msprop:Generator_ColumnPropNameInRow="gioitinh" msprop:Generator_ColumnPropNameInTable="gioitinhColumn" msprop:Generator_UserColumnName="gioitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sobhyt" msprop:Generator_ColumnVarNameInTable="columnsobhyt" msprop:Generator_ColumnPropNameInRow="sobhyt" msprop:Generator_ColumnPropNameInTable="sobhytColumn" msprop:Generator_UserColumnName="sobhyt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hanbhyt" msprop:Generator_ColumnVarNameInTable="columnhanbhyt" msprop:Generator_ColumnPropNameInRow="hanbhyt" msprop:Generator_ColumnPropNameInTable="hanbhytColumn" msprop:Generator_UserColumnName="hanbhyt" type="xs:dateTime" minOccurs="0" />
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="trieuchung" msprop:Generator_ColumnVarNameInTable="columntrieuchung" msprop:Generator_ColumnPropNameInRow="trieuchung" msprop:Generator_ColumnPropNameInTable="trieuchungColumn" msprop:Generator_UserColumnName="trieuchung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mach" msprop:Generator_ColumnVarNameInTable="columnmach" msprop:Generator_ColumnPropNameInRow="mach" msprop:Generator_ColumnPropNameInTable="machColumn" msprop:Generator_UserColumnName="mach" type="xs:int" minOccurs="0" />
              <xs:element name="huyetap" msprop:Generator_ColumnVarNameInTable="columnhuyetap" msprop:Generator_ColumnPropNameInRow="huyetap" msprop:Generator_ColumnPropNameInTable="huyetapColumn" msprop:Generator_UserColumnName="huyetap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nhietdo" msprop:Generator_ColumnVarNameInTable="columnnhietdo" msprop:Generator_ColumnPropNameInRow="nhietdo" msprop:Generator_ColumnPropNameInTable="nhietdoColumn" msprop:Generator_UserColumnName="nhietdo" type="xs:int" minOccurs="0" />
              <xs:element name="nhiptho" msprop:Generator_ColumnVarNameInTable="columnnhiptho" msprop:Generator_ColumnPropNameInRow="nhiptho" msprop:Generator_ColumnPropNameInTable="nhipthoColumn" msprop:Generator_UserColumnName="nhiptho" type="xs:int" minOccurs="0" />
              <xs:element name="chandoansobo" msprop:Generator_ColumnVarNameInTable="columnchandoansobo" msprop:Generator_ColumnPropNameInRow="chandoansobo" msprop:Generator_ColumnPropNameInTable="chandoansoboColumn" msprop:Generator_UserColumnName="chandoansobo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoan" msprop:Generator_ColumnVarNameInTable="columnchandoan" msprop:Generator_ColumnPropNameInRow="chandoan" msprop:Generator_ColumnPropNameInTable="chandoanColumn" msprop:Generator_UserColumnName="chandoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoanphu1" msprop:Generator_ColumnVarNameInTable="columnchandoanphu1" msprop:Generator_ColumnPropNameInRow="chandoanphu1" msprop:Generator_ColumnPropNameInTable="chandoanphu1Column" msprop:Generator_UserColumnName="chandoanphu1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoanphu2" msprop:Generator_ColumnVarNameInTable="columnchandoanphu2" msprop:Generator_ColumnPropNameInRow="chandoanphu2" msprop:Generator_ColumnPropNameInTable="chandoanphu2Column" msprop:Generator_UserColumnName="chandoanphu2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="xuly" msprop:Generator_ColumnVarNameInTable="columnxuly" msprop:Generator_ColumnPropNameInRow="xuly" msprop:Generator_ColumnPropNameInTable="xulyColumn" msprop:Generator_UserColumnName="xuly" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chidinhdieutri" msprop:Generator_ColumnVarNameInTable="columnchidinhdieutri" msprop:Generator_ColumnPropNameInRow="chidinhdieutri" msprop:Generator_ColumnPropNameInTable="chidinhdieutriColumn" msprop:Generator_UserColumnName="chidinhdieutri" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loidanbacsi" msprop:Generator_ColumnVarNameInTable="columnloidanbacsi" msprop:Generator_ColumnPropNameInRow="loidanbacsi" msprop:Generator_ColumnPropNameInTable="loidanbacsiColumn" msprop:Generator_UserColumnName="loidanbacsi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidungtaikham" msprop:Generator_ColumnVarNameInTable="columnnoidungtaikham" msprop:Generator_ColumnPropNameInRow="noidungtaikham" msprop:Generator_ColumnPropNameInTable="noidungtaikhamColumn" msprop:Generator_UserColumnName="noidungtaikham" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhamsau" msprop:Generator_ColumnVarNameInTable="columntaikhamsau" msprop:Generator_ColumnPropNameInRow="taikhamsau" msprop:Generator_ColumnPropNameInTable="taikhamsauColumn" msprop:Generator_UserColumnName="taikhamsau" type="xs:int" minOccurs="0" />
              <xs:element name="ngaytaikham" msprop:Generator_ColumnVarNameInTable="columnngaytaikham" msprop:Generator_ColumnPropNameInRow="ngaytaikham" msprop:Generator_ColumnPropNameInTable="ngaytaikhamColumn" msprop:Generator_UserColumnName="ngaytaikham" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="tongchiphikham" msprop:Generator_ColumnVarNameInTable="columntongchiphikham" msprop:Generator_ColumnPropNameInRow="tongchiphikham" msprop:Generator_ColumnPropNameInTable="tongchiphikhamColumn" msprop:Generator_UserColumnName="tongchiphikham" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenhDichVu" msprop:Generator_TableClassName="PhieuKhamBenhDichVuDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenhDichVu" msprop:Generator_TablePropName="PhieuKhamBenhDichVu" msprop:Generator_RowDeletingName="PhieuKhamBenhDichVuRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhDichVuRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhDichVuRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhDichVuRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenhDichVu" msprop:Generator_RowChangedName="PhieuKhamBenhDichVuRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhDichVuRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhDichVuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madichvu" msprop:Generator_ColumnVarNameInTable="columnmadichvu" msprop:Generator_ColumnPropNameInRow="madichvu" msprop:Generator_ColumnPropNameInTable="madichvuColumn" msprop:Generator_UserColumnName="madichvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendichvu" msprop:Generator_ColumnVarNameInTable="columntendichvu" msprop:Generator_ColumnPropNameInRow="tendichvu" msprop:Generator_ColumnPropNameInTable="tendichvuColumn" msprop:Generator_UserColumnName="tendichvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dongia" msprop:Generator_ColumnVarNameInTable="columndongia" msprop:Generator_ColumnPropNameInRow="dongia" msprop:Generator_ColumnPropNameInTable="dongiaColumn" msprop:Generator_UserColumnName="dongia" type="xs:decimal" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtien" msprop:Generator_ColumnVarNameInTable="columnthanhtien" msprop:Generator_ColumnPropNameInRow="thanhtien" msprop:Generator_ColumnPropNameInTable="thanhtienColumn" msprop:Generator_UserColumnName="thanhtien" type="xs:decimal" minOccurs="0" />
              <xs:element name="baohiemchi" msprop:Generator_ColumnVarNameInTable="columnbaohiemchi" msprop:Generator_ColumnPropNameInRow="baohiemchi" msprop:Generator_ColumnPropNameInTable="baohiemchiColumn" msprop:Generator_UserColumnName="baohiemchi" type="xs:decimal" minOccurs="0" />
              <xs:element name="noithuchien" msprop:Generator_ColumnVarNameInTable="columnnoithuchien" msprop:Generator_ColumnPropNameInRow="noithuchien" msprop:Generator_ColumnPropNameInTable="noithuchienColumn" msprop:Generator_UserColumnName="noithuchien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenhToaThuoc" msprop:Generator_TableClassName="PhieuKhamBenhToaThuocDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenhToaThuoc" msprop:Generator_TablePropName="PhieuKhamBenhToaThuoc" msprop:Generator_RowDeletingName="PhieuKhamBenhToaThuocRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhToaThuocRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhToaThuocRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhToaThuocRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenhToaThuoc" msprop:Generator_RowChangedName="PhieuKhamBenhToaThuocRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhToaThuocRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhToaThuocRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mathuoc" msprop:Generator_ColumnVarNameInTable="columnmathuoc" msprop:Generator_ColumnPropNameInRow="mathuoc" msprop:Generator_ColumnPropNameInTable="mathuocColumn" msprop:Generator_UserColumnName="mathuoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenthuoc" msprop:Generator_ColumnVarNameInTable="columntenthuoc" msprop:Generator_ColumnPropNameInRow="tenthuoc" msprop:Generator_ColumnPropNameInTable="tenthuocColumn" msprop:Generator_UserColumnName="tenthuoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cachdung" msprop:Generator_ColumnVarNameInTable="columncachdung" msprop:Generator_ColumnPropNameInRow="cachdung" msprop:Generator_ColumnPropNameInTable="cachdungColumn" msprop:Generator_UserColumnName="cachdung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="landung" msprop:Generator_ColumnVarNameInTable="columnlandung" msprop:Generator_ColumnPropNameInRow="landung" msprop:Generator_ColumnPropNameInTable="landungColumn" msprop:Generator_UserColumnName="landung" type="xs:int" minOccurs="0" />
              <xs:element name="luongdung" msprop:Generator_ColumnVarNameInTable="columnluongdung" msprop:Generator_ColumnPropNameInRow="luongdung" msprop:Generator_ColumnPropNameInTable="luongdungColumn" msprop:Generator_UserColumnName="luongdung" type="xs:int" minOccurs="0" />
              <xs:element name="dvdung" msprop:Generator_ColumnVarNameInTable="columndvdung" msprop:Generator_ColumnPropNameInRow="dvdung" msprop:Generator_ColumnPropNameInTable="dvdungColumn" msprop:Generator_UserColumnName="dvdung" type="xs:int" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dongia" msprop:Generator_ColumnVarNameInTable="columndongia" msprop:Generator_ColumnPropNameInRow="dongia" msprop:Generator_ColumnPropNameInTable="dongiaColumn" msprop:Generator_UserColumnName="dongia" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtien" msprop:Generator_ColumnVarNameInTable="columnthanhtien" msprop:Generator_ColumnPropNameInRow="thanhtien" msprop:Generator_ColumnPropNameInTable="thanhtienColumn" msprop:Generator_UserColumnName="thanhtien" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ToaThuocMau" msprop:Generator_TableClassName="ToaThuocMauDataTable" msprop:Generator_TableVarName="tableToaThuocMau" msprop:Generator_TablePropName="ToaThuocMau" msprop:Generator_RowDeletingName="ToaThuocMauRowDeleting" msprop:Generator_RowChangingName="ToaThuocMauRowChanging" msprop:Generator_RowEvHandlerName="ToaThuocMauRowChangeEventHandler" msprop:Generator_RowDeletedName="ToaThuocMauRowDeleted" msprop:Generator_UserTableName="ToaThuocMau" msprop:Generator_RowChangedName="ToaThuocMauRowChanged" msprop:Generator_RowEvArgName="ToaThuocMauRowChangeEvent" msprop:Generator_RowClassName="ToaThuocMauRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotoathuoc" msprop:Generator_ColumnVarNameInTable="columnsotoathuoc" msprop:Generator_ColumnPropNameInRow="sotoathuoc" msprop:Generator_ColumnPropNameInTable="sotoathuocColumn" msprop:Generator_UserColumnName="sotoathuoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bacsi" msprop:Generator_ColumnVarNameInTable="columnbacsi" msprop:Generator_ColumnPropNameInRow="bacsi" msprop:Generator_ColumnPropNameInTable="bacsiColumn" msprop:Generator_UserColumnName="bacsi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="benh" msprop:Generator_ColumnVarNameInTable="columnbenh" msprop:Generator_ColumnPropNameInRow="benh" msprop:Generator_ColumnPropNameInTable="benhColumn" msprop:Generator_UserColumnName="benh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ToaThuocMauChiTiet" msprop:Generator_TableClassName="ToaThuocMauChiTietDataTable" msprop:Generator_TableVarName="tableToaThuocMauChiTiet" msprop:Generator_TablePropName="ToaThuocMauChiTiet" msprop:Generator_RowDeletingName="ToaThuocMauChiTietRowDeleting" msprop:Generator_RowChangingName="ToaThuocMauChiTietRowChanging" msprop:Generator_RowEvHandlerName="ToaThuocMauChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="ToaThuocMauChiTietRowDeleted" msprop:Generator_UserTableName="ToaThuocMauChiTiet" msprop:Generator_RowChangedName="ToaThuocMauChiTietRowChanged" msprop:Generator_RowEvArgName="ToaThuocMauChiTietRowChangeEvent" msprop:Generator_RowClassName="ToaThuocMauChiTietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotoathuoc" msprop:Generator_ColumnVarNameInTable="columnsotoathuoc" msprop:Generator_ColumnPropNameInRow="sotoathuoc" msprop:Generator_ColumnPropNameInTable="sotoathuocColumn" msprop:Generator_UserColumnName="sotoathuoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMHangHoa" msprop:Generator_TableClassName="DMHangHoaDataTable" msprop:Generator_TableVarName="tableDMHangHoa" msprop:Generator_RowChangedName="DMHangHoaRowChanged" msprop:Generator_TablePropName="DMHangHoa" msprop:Generator_RowDeletingName="DMHangHoaRowDeleting" msprop:Generator_RowChangingName="DMHangHoaRowChanging" msprop:Generator_RowEvHandlerName="DMHangHoaRowChangeEventHandler" msprop:Generator_RowDeletedName="DMHangHoaRowDeleted" msprop:Generator_RowClassName="DMHangHoaRow" msprop:Generator_UserTableName="DMHangHoa" msprop:Generator_RowEvArgName="DMHangHoaRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manhom" msprop:Generator_ColumnVarNameInTable="columnmanhom" msprop:Generator_ColumnPropNameInRow="manhom" msprop:Generator_ColumnPropNameInTable="manhomColumn" msprop:Generator_UserColumnName="manhom" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihh" msprop:Generator_ColumnVarNameInTable="columnloaihh" msprop:Generator_ColumnPropNameInRow="loaihh" msprop:Generator_ColumnPropNameInTable="loaihhColumn" msprop:Generator_UserColumnName="loaihh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thuevat" msprop:Generator_ColumnVarNameInTable="columnthuevat" msprop:Generator_ColumnPropNameInRow="thuevat" msprop:Generator_ColumnPropNameInTable="thuevatColumn" msprop:Generator_UserColumnName="thuevat" type="xs:decimal" minOccurs="0" />
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tonkhotoithieu" msprop:Generator_ColumnVarNameInTable="columntonkhotoithieu" msprop:Generator_ColumnPropNameInRow="tonkhotoithieu" msprop:Generator_ColumnPropNameInTable="tonkhotoithieuColumn" msprop:Generator_UserColumnName="tonkhotoithieu" type="xs:decimal" minOccurs="0" />
              <xs:element name="tonkhotoida" msprop:Generator_ColumnVarNameInTable="columntonkhotoida" msprop:Generator_ColumnPropNameInRow="tonkhotoida" msprop:Generator_ColumnPropNameInTable="tonkhotoidaColumn" msprop:Generator_UserColumnName="tonkhotoida" type="xs:decimal" minOccurs="0" />
              <xs:element name="canhbaohandung" msprop:Generator_ColumnVarNameInTable="columncanhbaohandung" msprop:Generator_ColumnPropNameInRow="canhbaohandung" msprop:Generator_ColumnPropNameInTable="canhbaohandungColumn" msprop:Generator_UserColumnName="canhbaohandung" type="xs:int" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="madvt" msprop:Generator_ColumnVarNameInTable="columnmadvt" msprop:Generator_ColumnPropNameInRow="madvt" msprop:Generator_ColumnPropNameInTable="madvtColumn" msprop:Generator_UserColumnName="madvt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt1" msprop:Generator_ColumnVarNameInTable="columndvt1" msprop:Generator_ColumnPropNameInRow="dvt1" msprop:Generator_ColumnPropNameInTable="dvt1Column" msprop:Generator_UserColumnName="dvt1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quidoi1" msprop:Generator_ColumnVarNameInTable="columnquidoi1" msprop:Generator_ColumnPropNameInRow="quidoi1" msprop:Generator_ColumnPropNameInTable="quidoi1Column" msprop:Generator_UserColumnName="quidoi1" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvt2" msprop:Generator_ColumnVarNameInTable="columndvt2" msprop:Generator_ColumnPropNameInRow="dvt2" msprop:Generator_ColumnPropNameInTable="dvt2Column" msprop:Generator_UserColumnName="dvt2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quidoi2" msprop:Generator_ColumnVarNameInTable="columnquidoi2" msprop:Generator_ColumnPropNameInRow="quidoi2" msprop:Generator_ColumnPropNameInTable="quidoi2Column" msprop:Generator_UserColumnName="quidoi2" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvt3" msprop:Generator_ColumnVarNameInTable="columndvt3" msprop:Generator_ColumnPropNameInRow="dvt3" msprop:Generator_ColumnPropNameInTable="dvt3Column" msprop:Generator_UserColumnName="dvt3" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quidoi3" msprop:Generator_ColumnVarNameInTable="columnquidoi3" msprop:Generator_ColumnPropNameInRow="quidoi3" msprop:Generator_ColumnPropNameInTable="quidoi3Column" msprop:Generator_UserColumnName="quidoi3" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvt4" msprop:Generator_ColumnVarNameInTable="columndvt4" msprop:Generator_ColumnPropNameInRow="dvt4" msprop:Generator_ColumnPropNameInTable="dvt4Column" msprop:Generator_UserColumnName="dvt4" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quidoi4" msprop:Generator_ColumnVarNameInTable="columnquidoi4" msprop:Generator_ColumnPropNameInRow="quidoi4" msprop:Generator_ColumnPropNameInTable="quidoi4Column" msprop:Generator_UserColumnName="quidoi4" type="xs:decimal" minOccurs="0" />
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMHangHoa_DonViTinh" msprop:Generator_TableClassName="DMHangHoa_DonViTinhDataTable" msprop:Generator_TableVarName="tableDMHangHoa_DonViTinh" msprop:Generator_RowChangedName="DMHangHoa_DonViTinhRowChanged" msprop:Generator_TablePropName="DMHangHoa_DonViTinh" msprop:Generator_RowDeletingName="DMHangHoa_DonViTinhRowDeleting" msprop:Generator_RowChangingName="DMHangHoa_DonViTinhRowChanging" msprop:Generator_RowEvHandlerName="DMHangHoa_DonViTinhRowChangeEventHandler" msprop:Generator_RowDeletedName="DMHangHoa_DonViTinhRowDeleted" msprop:Generator_RowClassName="DMHangHoa_DonViTinhRow" msprop:Generator_UserTableName="DMHangHoa_DonViTinh" msprop:Generator_RowEvArgName="DMHangHoa_DonViTinhRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="heso" msprop:Generator_ColumnVarNameInTable="columnheso" msprop:Generator_ColumnPropNameInRow="heso" msprop:Generator_ColumnPropNameInTable="hesoColumn" msprop:Generator_UserColumnName="heso" type="xs:decimal" />
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendvt" msprop:Generator_ColumnVarNameInTable="columntendvt" msprop:Generator_ColumnPropNameInRow="tendvt" msprop:Generator_ColumnPropNameInTable="tendvtColumn" msprop:Generator_UserColumnName="tendvt">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="dvtmacdinh" msprop:Generator_ColumnVarNameInTable="columndvtmacdinh" msprop:Generator_ColumnPropNameInRow="dvtmacdinh" msprop:Generator_ColumnPropNameInTable="dvtmacdinhColumn" msprop:Generator_UserColumnName="dvtmacdinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TiepNhanBenhNhan" msprop:Generator_TableClassName="TiepNhanBenhNhanDataTable" msprop:Generator_TableVarName="tableTiepNhanBenhNhan" msprop:Generator_TablePropName="TiepNhanBenhNhan" msprop:Generator_RowDeletingName="TiepNhanBenhNhanRowDeleting" msprop:Generator_RowChangingName="TiepNhanBenhNhanRowChanging" msprop:Generator_RowEvHandlerName="TiepNhanBenhNhanRowChangeEventHandler" msprop:Generator_RowDeletedName="TiepNhanBenhNhanRowDeleted" msprop:Generator_UserTableName="TiepNhanBenhNhan" msprop:Generator_RowChangedName="TiepNhanBenhNhanRowChanged" msprop:Generator_RowEvArgName="TiepNhanBenhNhanRowChangeEvent" msprop:Generator_RowClassName="TiepNhanBenhNhanRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotiepnhan" msprop:Generator_ColumnVarNameInTable="columnsotiepnhan" msprop:Generator_ColumnPropNameInRow="sotiepnhan" msprop:Generator_ColumnPropNameInTable="sotiepnhanColumn" msprop:Generator_UserColumnName="sotiepnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaytiepnhan" msprop:Generator_ColumnVarNameInTable="columnngaytiepnhan" msprop:Generator_ColumnPropNameInRow="ngaytiepnhan" msprop:Generator_ColumnPropNameInTable="ngaytiepnhanColumn" msprop:Generator_UserColumnName="ngaytiepnhan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gioitinh" msprop:Generator_ColumnVarNameInTable="columngioitinh" msprop:Generator_ColumnPropNameInRow="gioitinh" msprop:Generator_ColumnPropNameInTable="gioitinhColumn" msprop:Generator_UserColumnName="gioitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaythangnamsinh" msprop:Generator_ColumnVarNameInTable="columnngaythangnamsinh" msprop:Generator_ColumnPropNameInRow="ngaythangnamsinh" msprop:Generator_ColumnPropNameInTable="ngaythangnamsinhColumn" msprop:Generator_UserColumnName="ngaythangnamsinh" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tuoi" msprop:Generator_ColumnVarNameInTable="columntuoi" msprop:Generator_ColumnPropNameInRow="tuoi" msprop:Generator_ColumnPropNameInTable="tuoiColumn" msprop:Generator_UserColumnName="tuoi" type="xs:int" minOccurs="0" />
              <xs:element name="ngaysinh" msprop:Generator_ColumnVarNameInTable="columnngaysinh" msprop:Generator_ColumnPropNameInRow="ngaysinh" msprop:Generator_ColumnPropNameInTable="ngaysinhColumn" msprop:Generator_UserColumnName="ngaysinh" type="xs:int" minOccurs="0" />
              <xs:element name="thangsinh" msprop:Generator_ColumnVarNameInTable="columnthangsinh" msprop:Generator_ColumnPropNameInRow="thangsinh" msprop:Generator_ColumnPropNameInTable="thangsinhColumn" msprop:Generator_UserColumnName="thangsinh" type="xs:int" minOccurs="0" />
              <xs:element name="namsinh" msprop:Generator_ColumnVarNameInTable="columnnamsinh" msprop:Generator_ColumnPropNameInRow="namsinh" msprop:Generator_ColumnPropNameInTable="namsinhColumn" msprop:Generator_UserColumnName="namsinh" type="xs:int" minOccurs="0" />
              <xs:element name="noicongtac" msprop:Generator_ColumnVarNameInTable="columnnoicongtac" msprop:Generator_ColumnPropNameInRow="noicongtac" msprop:Generator_ColumnPropNameInTable="noicongtacColumn" msprop:Generator_UserColumnName="noicongtac" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dantoc" msprop:Generator_ColumnVarNameInTable="columndantoc" msprop:Generator_ColumnPropNameInRow="dantoc" msprop:Generator_ColumnPropNameInTable="dantocColumn" msprop:Generator_UserColumnName="dantoc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nghenghiep" msprop:Generator_ColumnVarNameInTable="columnnghenghiep" msprop:Generator_ColumnPropNameInRow="nghenghiep" msprop:Generator_ColumnPropNameInTable="nghenghiepColumn" msprop:Generator_UserColumnName="nghenghiep" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quocgia" msprop:Generator_ColumnVarNameInTable="columnquocgia" msprop:Generator_ColumnPropNameInRow="quocgia" msprop:Generator_ColumnPropNameInTable="quocgiaColumn" msprop:Generator_UserColumnName="quocgia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhthanh" msprop:Generator_ColumnVarNameInTable="columntinhthanh" msprop:Generator_ColumnPropNameInRow="tinhthanh" msprop:Generator_ColumnPropNameInTable="tinhthanhColumn" msprop:Generator_UserColumnName="tinhthanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quanhuyen" msprop:Generator_ColumnVarNameInTable="columnquanhuyen" msprop:Generator_ColumnPropNameInRow="quanhuyen" msprop:Generator_ColumnPropNameInTable="quanhuyenColumn" msprop:Generator_UserColumnName="quanhuyen" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phuongxa" msprop:Generator_ColumnVarNameInTable="columnphuongxa" msprop:Generator_ColumnPropNameInRow="phuongxa" msprop:Generator_ColumnPropNameInTable="phuongxaColumn" msprop:Generator_UserColumnName="phuongxa" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thonphoduong" msprop:Generator_ColumnVarNameInTable="columnthonphoduong" msprop:Generator_ColumnPropNameInRow="thonphoduong" msprop:Generator_ColumnPropNameInTable="thonphoduongColumn" msprop:Generator_UserColumnName="thonphoduong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sonha" msprop:Generator_ColumnVarNameInTable="columnsonha" msprop:Generator_ColumnPropNameInRow="sonha" msprop:Generator_ColumnPropNameInTable="sonhaColumn" msprop:Generator_UserColumnName="sonha" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaibenhnhan" msprop:Generator_ColumnVarNameInTable="columnloaibenhnhan" msprop:Generator_ColumnPropNameInRow="loaibenhnhan" msprop:Generator_ColumnPropNameInTable="loaibenhnhanColumn" msprop:Generator_UserColumnName="loaibenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="traituyen" msprop:Generator_ColumnVarNameInTable="columntraituyen" msprop:Generator_ColumnPropNameInRow="traituyen" msprop:Generator_ColumnPropNameInTable="traituyenColumn" msprop:Generator_UserColumnName="traituyen" type="xs:boolean" minOccurs="0" />
              <xs:element name="uutien" msprop:Generator_ColumnVarNameInTable="columnuutien" msprop:Generator_ColumnPropNameInRow="uutien" msprop:Generator_ColumnPropNameInTable="uutienColumn" msprop:Generator_UserColumnName="uutien" type="xs:boolean" minOccurs="0" />
              <xs:element name="dienthoai" msprop:Generator_ColumnVarNameInTable="columndienthoai" msprop:Generator_ColumnPropNameInRow="dienthoai" msprop:Generator_ColumnPropNameInTable="dienthoaiColumn" msprop:Generator_UserColumnName="dienthoai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noigioithieu" msprop:Generator_ColumnVarNameInTable="columnnoigioithieu" msprop:Generator_ColumnPropNameInRow="noigioithieu" msprop:Generator_ColumnPropNameInTable="noigioithieuColumn" msprop:Generator_UserColumnName="noigioithieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoansobo" msprop:Generator_ColumnVarNameInTable="columnchandoansobo" msprop:Generator_ColumnPropNameInRow="chandoansobo" msprop:Generator_ColumnPropNameInTable="chandoansoboColumn" msprop:Generator_UserColumnName="chandoansobo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lydokham" msprop:Generator_ColumnVarNameInTable="columnlydokham" msprop:Generator_ColumnPropNameInRow="lydokham" msprop:Generator_ColumnPropNameInTable="lydokhamColumn" msprop:Generator_UserColumnName="lydokham" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chonkham" msprop:Generator_ColumnVarNameInTable="columnchonkham" msprop:Generator_ColumnPropNameInRow="chonkham" msprop:Generator_ColumnPropNameInTable="chonkhamColumn" msprop:Generator_UserColumnName="chonkham" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="bacsi" msprop:Generator_ColumnVarNameInTable="columnbacsi" msprop:Generator_ColumnPropNameInRow="bacsi" msprop:Generator_ColumnPropNameInTable="bacsiColumn" msprop:Generator_UserColumnName="bacsi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phong" msprop:Generator_ColumnVarNameInTable="columnphong" msprop:Generator_ColumnPropNameInRow="phong" msprop:Generator_ColumnPropNameInTable="phongColumn" msprop:Generator_UserColumnName="phong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaykhamgannhat" msprop:Generator_ColumnVarNameInTable="columnngaykhamgannhat" msprop:Generator_ColumnPropNameInRow="ngaykhamgannhat" msprop:Generator_ColumnPropNameInTable="ngaykhamgannhatColumn" msprop:Generator_UserColumnName="ngaykhamgannhat" type="xs:dateTime" minOccurs="0" />
              <xs:element name="solanden" msprop:Generator_ColumnVarNameInTable="columnsolanden" msprop:Generator_ColumnPropNameInRow="solanden" msprop:Generator_ColumnPropNameInTable="solandenColumn" msprop:Generator_UserColumnName="solanden" type="xs:int" minOccurs="0" />
              <xs:element name="solannamvien" msprop:Generator_ColumnVarNameInTable="columnsolannamvien" msprop:Generator_ColumnPropNameInRow="solannamvien" msprop:Generator_ColumnPropNameInTable="solannamvienColumn" msprop:Generator_UserColumnName="solannamvien" type="xs:int" minOccurs="0" />
              <xs:element name="sobhyt" msprop:Generator_ColumnVarNameInTable="columnsobhyt" msprop:Generator_ColumnPropNameInRow="sobhyt" msprop:Generator_ColumnPropNameInTable="sobhytColumn" msprop:Generator_UserColumnName="sobhyt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaybatdau" msprop:Generator_ColumnVarNameInTable="columnngaybatdau" msprop:Generator_ColumnPropNameInRow="ngaybatdau" msprop:Generator_ColumnPropNameInTable="ngaybatdauColumn" msprop:Generator_UserColumnName="ngaybatdau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngayhethan" msprop:Generator_ColumnVarNameInTable="columnngayhethan" msprop:Generator_ColumnPropNameInRow="ngayhethan" msprop:Generator_ColumnPropNameInTable="ngayhethanColumn" msprop:Generator_UserColumnName="ngayhethan" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TiepNhanBenhNhanDichVu" msprop:Generator_TableClassName="TiepNhanBenhNhanDichVuDataTable" msprop:Generator_TableVarName="tableTiepNhanBenhNhanDichVu" msprop:Generator_TablePropName="TiepNhanBenhNhanDichVu" msprop:Generator_RowDeletingName="TiepNhanBenhNhanDichVuRowDeleting" msprop:Generator_RowChangingName="TiepNhanBenhNhanDichVuRowChanging" msprop:Generator_RowEvHandlerName="TiepNhanBenhNhanDichVuRowChangeEventHandler" msprop:Generator_RowDeletedName="TiepNhanBenhNhanDichVuRowDeleted" msprop:Generator_UserTableName="TiepNhanBenhNhanDichVu" msprop:Generator_RowChangedName="TiepNhanBenhNhanDichVuRowChanged" msprop:Generator_RowEvArgName="TiepNhanBenhNhanDichVuRowChangeEvent" msprop:Generator_RowClassName="TiepNhanBenhNhanDichVuRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sotiepnhan" msprop:Generator_ColumnVarNameInTable="columnsotiepnhan" msprop:Generator_ColumnPropNameInRow="sotiepnhan" msprop:Generator_ColumnPropNameInTable="sotiepnhanColumn" msprop:Generator_UserColumnName="sotiepnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabenhnhan" msprop:Generator_ColumnVarNameInTable="columnmabenhnhan" msprop:Generator_ColumnPropNameInRow="mabenhnhan" msprop:Generator_ColumnPropNameInTable="mabenhnhanColumn" msprop:Generator_UserColumnName="mabenhnhan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madichvu" msprop:Generator_ColumnVarNameInTable="columnmadichvu" msprop:Generator_ColumnPropNameInRow="madichvu" msprop:Generator_ColumnPropNameInTable="madichvuColumn" msprop:Generator_UserColumnName="madichvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendichvu" msprop:Generator_ColumnVarNameInTable="columntendichvu" msprop:Generator_ColumnPropNameInRow="tendichvu" msprop:Generator_ColumnPropNameInTable="tendichvuColumn" msprop:Generator_UserColumnName="tendichvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="dongia" msprop:Generator_ColumnVarNameInTable="columndongia" msprop:Generator_ColumnPropNameInRow="dongia" msprop:Generator_ColumnPropNameInTable="dongiaColumn" msprop:Generator_UserColumnName="dongia" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtien" msprop:Generator_ColumnVarNameInTable="columnthanhtien" msprop:Generator_ColumnPropNameInRow="thanhtien" msprop:Generator_ColumnPropNameInTable="thanhtienColumn" msprop:Generator_UserColumnName="thanhtien" type="xs:decimal" minOccurs="0" />
              <xs:element name="baohiemchi" msprop:Generator_ColumnVarNameInTable="columnbaohiemchi" msprop:Generator_ColumnPropNameInRow="baohiemchi" msprop:Generator_ColumnPropNameInTable="baohiemchiColumn" msprop:Generator_UserColumnName="baohiemchi" type="xs:decimal" minOccurs="0" />
              <xs:element name="noithuchien" msprop:Generator_ColumnVarNameInTable="columnnoithuchien" msprop:Generator_ColumnPropNameInRow="noithuchien" msprop:Generator_ColumnPropNameInTable="noithuchienColumn" msprop:Generator_UserColumnName="noithuchien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenhChuyenKhoa" msprop:Generator_TableClassName="PhieuKhamBenhChuyenKhoaDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenhChuyenKhoa" msprop:Generator_TablePropName="PhieuKhamBenhChuyenKhoa" msprop:Generator_RowDeletingName="PhieuKhamBenhChuyenKhoaRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhChuyenKhoaRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhChuyenKhoaRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhChuyenKhoaRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenhChuyenKhoa" msprop:Generator_RowChangedName="PhieuKhamBenhChuyenKhoaRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhChuyenKhoaRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhChuyenKhoaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="maphong" msprop:Generator_ColumnVarNameInTable="columnmaphong" msprop:Generator_ColumnPropNameInRow="maphong" msprop:Generator_ColumnPropNameInTable="maphongColumn" msprop:Generator_UserColumnName="maphong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenphong" msprop:Generator_ColumnVarNameInTable="columntenphong" msprop:Generator_ColumnPropNameInRow="tenphong" msprop:Generator_ColumnPropNameInTable="tenphongColumn" msprop:Generator_UserColumnName="tenphong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenhChuyenVien" msprop:Generator_TableClassName="PhieuKhamBenhChuyenVienDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenhChuyenVien" msprop:Generator_TablePropName="PhieuKhamBenhChuyenVien" msprop:Generator_RowDeletingName="PhieuKhamBenhChuyenVienRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhChuyenVienRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhChuyenVienRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhChuyenVienRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenhChuyenVien" msprop:Generator_RowChangedName="PhieuKhamBenhChuyenVienRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhChuyenVienRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhChuyenVienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="benhvien" msprop:Generator_ColumnVarNameInTable="columnbenhvien" msprop:Generator_ColumnPropNameInRow="benhvien" msprop:Generator_ColumnPropNameInTable="benhvienColumn" msprop:Generator_UserColumnName="benhvien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenbenhvien" msprop:Generator_ColumnVarNameInTable="columntenbenhvien" msprop:Generator_ColumnPropNameInRow="tenbenhvien" msprop:Generator_ColumnPropNameInTable="tenbenhvienColumn" msprop:Generator_UserColumnName="tenbenhvien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachibenhvien" msprop:Generator_ColumnVarNameInTable="columndiachibenhvien" msprop:Generator_ColumnPropNameInRow="diachibenhvien" msprop:Generator_ColumnPropNameInTable="diachibenhvienColumn" msprop:Generator_UserColumnName="diachibenhvien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dauhieulamsang" msprop:Generator_ColumnVarNameInTable="columndauhieulamsang" msprop:Generator_ColumnPropNameInRow="dauhieulamsang" msprop:Generator_ColumnPropNameInTable="dauhieulamsangColumn" msprop:Generator_UserColumnName="dauhieulamsang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="cacxetnghiem" msprop:Generator_ColumnVarNameInTable="columncacxetnghiem" msprop:Generator_ColumnPropNameInRow="cacxetnghiem" msprop:Generator_ColumnPropNameInTable="cacxetnghiemColumn" msprop:Generator_UserColumnName="cacxetnghiem" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoan" msprop:Generator_ColumnVarNameInTable="columnchandoan" msprop:Generator_ColumnPropNameInRow="chandoan" msprop:Generator_ColumnPropNameInTable="chandoanColumn" msprop:Generator_UserColumnName="chandoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thuocdadung" msprop:Generator_ColumnVarNameInTable="columnthuocdadung" msprop:Generator_ColumnPropNameInRow="thuocdadung" msprop:Generator_ColumnPropNameInTable="thuocdadungColumn" msprop:Generator_UserColumnName="thuocdadung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrangnguoibenh" msprop:Generator_ColumnVarNameInTable="columntinhtrangnguoibenh" msprop:Generator_ColumnPropNameInRow="tinhtrangnguoibenh" msprop:Generator_ColumnPropNameInTable="tinhtrangnguoibenhColumn" msprop:Generator_UserColumnName="tinhtrangnguoibenh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lydochuyenvien" msprop:Generator_ColumnVarNameInTable="columnlydochuyenvien" msprop:Generator_ColumnPropNameInRow="lydochuyenvien" msprop:Generator_ColumnPropNameInTable="lydochuyenvienColumn" msprop:Generator_UserColumnName="lydochuyenvien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phuongtienvanchuyen" msprop:Generator_ColumnVarNameInTable="columnphuongtienvanchuyen" msprop:Generator_ColumnPropNameInRow="phuongtienvanchuyen" msprop:Generator_ColumnPropNameInTable="phuongtienvanchuyenColumn" msprop:Generator_UserColumnName="phuongtienvanchuyen" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguoiduadi" msprop:Generator_ColumnVarNameInTable="columnnguoiduadi" msprop:Generator_ColumnPropNameInRow="nguoiduadi" msprop:Generator_ColumnPropNameInTable="nguoiduadiColumn" msprop:Generator_UserColumnName="nguoiduadi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PhieuKhamBenhNhapVien" msprop:Generator_TableClassName="PhieuKhamBenhNhapVienDataTable" msprop:Generator_TableVarName="tablePhieuKhamBenhNhapVien" msprop:Generator_TablePropName="PhieuKhamBenhNhapVien" msprop:Generator_RowDeletingName="PhieuKhamBenhNhapVienRowDeleting" msprop:Generator_RowChangingName="PhieuKhamBenhNhapVienRowChanging" msprop:Generator_RowEvHandlerName="PhieuKhamBenhNhapVienRowChangeEventHandler" msprop:Generator_RowDeletedName="PhieuKhamBenhNhapVienRowDeleted" msprop:Generator_UserTableName="PhieuKhamBenhNhapVien" msprop:Generator_RowChangedName="PhieuKhamBenhNhapVienRowChanged" msprop:Generator_RowEvArgName="PhieuKhamBenhNhapVienRowChangeEvent" msprop:Generator_RowClassName="PhieuKhamBenhNhapVienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sophieu" msprop:Generator_ColumnVarNameInTable="columnsophieu" msprop:Generator_ColumnPropNameInRow="sophieu" msprop:Generator_ColumnPropNameInTable="sophieuColumn" msprop:Generator_UserColumnName="sophieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lydovaovien" msprop:Generator_ColumnVarNameInTable="columnlydovaovien" msprop:Generator_ColumnPropNameInRow="lydovaovien" msprop:Generator_ColumnPropNameInTable="lydovaovienColumn" msprop:Generator_UserColumnName="lydovaovien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chandoan" msprop:Generator_ColumnVarNameInTable="columnchandoan" msprop:Generator_ColumnPropNameInRow="chandoan" msprop:Generator_ColumnPropNameInTable="chandoanColumn" msprop:Generator_UserColumnName="chandoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quatrinhbenhly" msprop:Generator_ColumnVarNameInTable="columnquatrinhbenhly" msprop:Generator_ColumnPropNameInRow="quatrinhbenhly" msprop:Generator_ColumnPropNameInTable="quatrinhbenhlyColumn" msprop:Generator_UserColumnName="quatrinhbenhly" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tiensubenhbanthan" msprop:Generator_ColumnVarNameInTable="columntiensubenhbanthan" msprop:Generator_ColumnPropNameInRow="tiensubenhbanthan" msprop:Generator_ColumnPropNameInTable="tiensubenhbanthanColumn" msprop:Generator_UserColumnName="tiensubenhbanthan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tiensubenhgiadinh" msprop:Generator_ColumnVarNameInTable="columntiensubenhgiadinh" msprop:Generator_ColumnPropNameInRow="tiensubenhgiadinh" msprop:Generator_ColumnPropNameInTable="tiensubenhgiadinhColumn" msprop:Generator_UserColumnName="tiensubenhgiadinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khamtoanthan" msprop:Generator_ColumnVarNameInTable="columnkhamtoanthan" msprop:Generator_ColumnPropNameInRow="khamtoanthan" msprop:Generator_ColumnPropNameInTable="khamtoanthanColumn" msprop:Generator_UserColumnName="khamtoanthan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khambophan" msprop:Generator_ColumnVarNameInTable="columnkhambophan" msprop:Generator_ColumnPropNameInRow="khambophan" msprop:Generator_ColumnPropNameInTable="khambophanColumn" msprop:Generator_UserColumnName="khambophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dauhieulamsan" msprop:Generator_ColumnVarNameInTable="columndauhieulamsan" msprop:Generator_ColumnPropNameInRow="dauhieulamsan" msprop:Generator_ColumnPropNameInTable="dauhieulamsanColumn" msprop:Generator_UserColumnName="dauhieulamsan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thuocdadung" msprop:Generator_ColumnVarNameInTable="columnthuocdadung" msprop:Generator_ColumnPropNameInRow="thuocdadung" msprop:Generator_ColumnPropNameInTable="thuocdadungColumn" msprop:Generator_UserColumnName="thuocdadung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dieutritaikhoa" msprop:Generator_ColumnVarNameInTable="columndieutritaikhoa" msprop:Generator_ColumnPropNameInRow="dieutritaikhoa" msprop:Generator_ColumnPropNameInTable="dieutritaikhoaColumn" msprop:Generator_UserColumnName="dieutritaikhoa" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ghichu" msprop:Generator_ColumnVarNameInTable="columnghichu" msprop:Generator_ColumnPropNameInRow="ghichu" msprop:Generator_ColumnPropNameInTable="ghichuColumn" msprop:Generator_UserColumnName="ghichu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TCThue" msprop:Generator_TableClassName="TCThueDataTable" msprop:Generator_TableVarName="tableTCThue" msprop:Generator_TablePropName="TCThue" msprop:Generator_RowDeletingName="TCThueRowDeleting" msprop:Generator_RowChangingName="TCThueRowChanging" msprop:Generator_RowEvHandlerName="TCThueRowChangeEventHandler" msprop:Generator_RowDeletedName="TCThueRowDeleted" msprop:Generator_UserTableName="TCThue" msprop:Generator_RowChangedName="TCThueRowChanged" msprop:Generator_RowEvArgName="TCThueRowChangeEvent" msprop:Generator_RowClassName="TCThueRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanthue" msprop:Generator_ColumnVarNameInTable="columntaikhoanthue" msprop:Generator_ColumnPropNameInRow="taikhoanthue" msprop:Generator_ColumnPropNameInTable="taikhoanthueColumn" msprop:Generator_UserColumnName="taikhoanthue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihoadon" msprop:Generator_ColumnVarNameInTable="columnloaihoadon" msprop:Generator_ColumnPropNameInRow="loaihoadon" msprop:Generator_ColumnPropNameInTable="loaihoadonColumn" msprop:Generator_UserColumnName="loaihoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="diengiaithue" msprop:Generator_ColumnVarNameInTable="columndiengiaithue" msprop:Generator_ColumnPropNameInRow="diengiaithue" msprop:Generator_ColumnPropNameInTable="diengiaithueColumn" msprop:Generator_UserColumnName="diengiaithue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doanhthu" msprop:Generator_ColumnVarNameInTable="columndoanhthu" msprop:Generator_ColumnPropNameInRow="doanhthu" msprop:Generator_ColumnPropNameInTable="doanhthuColumn" msprop:Generator_UserColumnName="doanhthu" type="xs:decimal" minOccurs="0" />
              <xs:element name="phantramthue" msprop:Generator_ColumnVarNameInTable="columnphantramthue" msprop:Generator_ColumnPropNameInRow="phantramthue" msprop:Generator_ColumnPropNameInTable="phantramthueColumn" msprop:Generator_UserColumnName="phantramthue" type="xs:int" minOccurs="0" />
              <xs:element name="tienthue" msprop:Generator_ColumnVarNameInTable="columntienthue" msprop:Generator_ColumnPropNameInRow="tienthue" msprop:Generator_ColumnPropNameInTable="tienthueColumn" msprop:Generator_UserColumnName="tienthue" type="xs:decimal" minOccurs="0" />
              <xs:element name="tongcong" msprop:Generator_ColumnVarNameInTable="columntongcong" msprop:Generator_ColumnPropNameInRow="tongcong" msprop:Generator_ColumnPropNameInTable="tongcongColumn" msprop:Generator_UserColumnName="tongcong" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TCTien" msprop:Generator_TableClassName="TCTienDataTable" msprop:Generator_TableVarName="tableTCTien" msprop:Generator_TablePropName="TCTien" msprop:Generator_RowDeletingName="TCTienRowDeleting" msprop:Generator_RowChangingName="TCTienRowChanging" msprop:Generator_RowEvHandlerName="TCTienRowChangeEventHandler" msprop:Generator_RowDeletedName="TCTienRowDeleted" msprop:Generator_UserTableName="TCTien" msprop:Generator_RowChangedName="TCTienRowChanged" msprop:Generator_RowEvArgName="TCTienRowChangeEvent" msprop:Generator_RowClassName="TCTienRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="module" msprop:Generator_ColumnVarNameInTable="columnmodule" msprop:Generator_ColumnPropNameInRow="_module" msprop:Generator_ColumnPropNameInTable="moduleColumn" msprop:Generator_UserColumnName="module" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tennguoigiaodich" msprop:Generator_ColumnVarNameInTable="columntennguoigiaodich" msprop:Generator_ColumnPropNameInRow="tennguoigiaodich" msprop:Generator_ColumnPropNameInTable="tennguoigiaodichColumn" msprop:Generator_UserColumnName="tennguoigiaodich" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabophan" msprop:Generator_ColumnVarNameInTable="columnmabophan" msprop:Generator_ColumnPropNameInRow="mabophan" msprop:Generator_ColumnPropNameInTable="mabophanColumn" msprop:Generator_UserColumnName="mabophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenbophan" msprop:Generator_ColumnVarNameInTable="columntenbophan" msprop:Generator_ColumnPropNameInRow="tenbophan" msprop:Generator_ColumnPropNameInTable="tenbophanColumn" msprop:Generator_UserColumnName="tenbophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nganhang" msprop:Generator_ColumnVarNameInTable="columnnganhang" msprop:Generator_ColumnPropNameInRow="nganhang" msprop:Generator_ColumnPropNameInTable="nganhangColumn" msprop:Generator_UserColumnName="nganhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoannganhang" msprop:Generator_ColumnVarNameInTable="columntaikhoannganhang" msprop:Generator_ColumnPropNameInRow="taikhoannganhang" msprop:Generator_ColumnPropNameInTable="taikhoannganhangColumn" msprop:Generator_UserColumnName="taikhoannganhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="noidung" msprop:Generator_ColumnVarNameInTable="columnnoidung" msprop:Generator_ColumnPropNameInRow="noidung" msprop:Generator_ColumnPropNameInTable="noidungColumn" msprop:Generator_UserColumnName="noidung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thamchieu" msprop:Generator_ColumnVarNameInTable="columnthamchieu" msprop:Generator_ColumnPropNameInRow="thamchieu" msprop:Generator_ColumnPropNameInTable="thamchieuColumn" msprop:Generator_UserColumnName="thamchieu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaythamchieu" msprop:Generator_ColumnVarNameInTable="columnngaythamchieu" msprop:Generator_ColumnPropNameInRow="ngaythamchieu" msprop:Generator_ColumnPropNameInTable="ngaythamchieuColumn" msprop:Generator_UserColumnName="ngaythamchieu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="chungtukemtheo" msprop:Generator_ColumnVarNameInTable="columnchungtukemtheo" msprop:Generator_ColumnPropNameInRow="chungtukemtheo" msprop:Generator_ColumnPropNameInTable="chungtukemtheoColumn" msprop:Generator_UserColumnName="chungtukemtheo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" minOccurs="0" />
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="kyketoan" msprop:Generator_ColumnVarNameInTable="columnkyketoan" msprop:Generator_ColumnPropNameInRow="kyketoan" msprop:Generator_ColumnPropNameInTable="kyketoanColumn" msprop:Generator_UserColumnName="kyketoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loai" msprop:Generator_ColumnVarNameInTable="columnloai" msprop:Generator_ColumnPropNameInRow="loai" msprop:Generator_ColumnPropNameInTable="loaiColumn" msprop:Generator_UserColumnName="loai" type="xs:int" minOccurs="0" />
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TCTienChiTiet" msprop:Generator_TableClassName="TCTienChiTietDataTable" msprop:Generator_TableVarName="tableTCTienChiTiet" msprop:Generator_TablePropName="TCTienChiTiet" msprop:Generator_RowDeletingName="TCTienChiTietRowDeleting" msprop:Generator_RowChangingName="TCTienChiTietRowChanging" msprop:Generator_RowEvHandlerName="TCTienChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="TCTienChiTietRowDeleted" msprop:Generator_UserTableName="TCTienChiTiet" msprop:Generator_RowChangedName="TCTienChiTietRowChanged" msprop:Generator_RowEvArgName="TCTienChiTietRowChangeEvent" msprop:Generator_RowClassName="TCTienChiTietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="taikhoanno" msprop:Generator_ColumnVarNameInTable="columntaikhoanno" msprop:Generator_ColumnPropNameInRow="taikhoanno" msprop:Generator_ColumnPropNameInTable="taikhoannoColumn" msprop:Generator_UserColumnName="taikhoanno" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanco" msprop:Generator_ColumnVarNameInTable="columntaikhoanco" msprop:Generator_ColumnPropNameInRow="taikhoanco" msprop:Generator_ColumnPropNameInTable="taikhoancoColumn" msprop:Generator_UserColumnName="taikhoanco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguyente" msprop:Generator_ColumnVarNameInTable="columnnguyente" msprop:Generator_ColumnPropNameInRow="nguyente" msprop:Generator_ColumnPropNameInTable="nguyenteColumn" msprop:Generator_UserColumnName="nguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="tienvnd" msprop:Generator_ColumnVarNameInTable="columntienvnd" msprop:Generator_ColumnPropNameInRow="tienvnd" msprop:Generator_ColumnPropNameInTable="tienvndColumn" msprop:Generator_UserColumnName="tienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="diengiai" msprop:Generator_ColumnVarNameInTable="columndiengiai" msprop:Generator_ColumnPropNameInRow="diengiai" msprop:Generator_ColumnPropNameInTable="diengiaiColumn" msprop:Generator_UserColumnName="diengiai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachidonvi" msprop:Generator_ColumnVarNameInTable="columndiachidonvi" msprop:Generator_ColumnPropNameInRow="diachidonvi" msprop:Generator_ColumnPropNameInTable="diachidonviColumn" msprop:Generator_UserColumnName="diachidonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohopdong" msprop:Generator_ColumnVarNameInTable="columnsohopdong" msprop:Generator_ColumnPropNameInRow="sohopdong" msprop:Generator_ColumnPropNameInTable="sohopdongColumn" msprop:Generator_UserColumnName="sohopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="khoanmucphi" msprop:Generator_ColumnVarNameInTable="columnkhoanmucphi" msprop:Generator_ColumnPropNameInRow="khoanmucphi" msprop:Generator_ColumnPropNameInTable="khoanmucphiColumn" msprop:Generator_UserColumnName="khoanmucphi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabophan" msprop:Generator_ColumnVarNameInTable="columnmabophan" msprop:Generator_ColumnPropNameInRow="mabophan" msprop:Generator_ColumnPropNameInTable="mabophanColumn" msprop:Generator_UserColumnName="mabophan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahangmuc" msprop:Generator_ColumnVarNameInTable="columnmahangmuc" msprop:Generator_ColumnPropNameInRow="mahangmuc" msprop:Generator_ColumnPropNameInTable="mahangmucColumn" msprop:Generator_UserColumnName="mahangmuc" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kheuocvay" msprop:Generator_ColumnVarNameInTable="columnkheuocvay" msprop:Generator_ColumnPropNameInRow="kheuocvay" msprop:Generator_ColumnPropNameInTable="kheuocvayColumn" msprop:Generator_UserColumnName="kheuocvay" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="hopdongtindung" msprop:Generator_ColumnVarNameInTable="columnhopdongtindung" msprop:Generator_ColumnPropNameInRow="hopdongtindung" msprop:Generator_ColumnPropNameInTable="hopdongtindungColumn" msprop:Generator_UserColumnName="hopdongtindung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doituong" msprop:Generator_ColumnVarNameInTable="columndoituong" msprop:Generator_ColumnPropNameInRow="doituong" msprop:Generator_ColumnPropNameInTable="doituongColumn" msprop:Generator_UserColumnName="doituong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguonvon" msprop:Generator_ColumnVarNameInTable="columnnguonvon" msprop:Generator_ColumnPropNameInRow="nguonvon" msprop:Generator_ColumnPropNameInTable="nguonvonColumn" msprop:Generator_UserColumnName="nguonvon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHBangGia" msprop:Generator_TableClassName="BHBangGiaDataTable" msprop:Generator_TableVarName="tableBHBangGia" msprop:Generator_TablePropName="BHBangGia" msprop:Generator_RowDeletingName="BHBangGiaRowDeleting" msprop:Generator_RowChangingName="BHBangGiaRowChanging" msprop:Generator_RowEvHandlerName="BHBangGiaRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBangGiaRowDeleted" msprop:Generator_UserTableName="BHBangGia" msprop:Generator_RowChangedName="BHBangGiaRowChanged" msprop:Generator_RowEvArgName="BHBangGiaRowChangeEvent" msprop:Generator_RowClassName="BHBangGiaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaibanggia" msprop:Generator_ColumnVarNameInTable="columnloaibanggia" msprop:Generator_ColumnPropNameInRow="loaibanggia" msprop:Generator_ColumnPropNameInTable="loaibanggiaColumn" msprop:Generator_UserColumnName="loaibanggia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mabanggia" msprop:Generator_ColumnVarNameInTable="columnmabanggia" msprop:Generator_ColumnPropNameInRow="mabanggia" msprop:Generator_ColumnPropNameInTable="mabanggiaColumn" msprop:Generator_UserColumnName="mabanggia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngaybatdau" msprop:Generator_ColumnVarNameInTable="columnngaybatdau" msprop:Generator_ColumnPropNameInRow="ngaybatdau" msprop:Generator_ColumnPropNameInTable="ngaybatdauColumn" msprop:Generator_UserColumnName="ngaybatdau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngayketthuc" msprop:Generator_ColumnVarNameInTable="columnngayketthuc" msprop:Generator_ColumnPropNameInRow="ngayketthuc" msprop:Generator_ColumnPropNameInTable="ngayketthucColumn" msprop:Generator_UserColumnName="ngayketthuc" type="xs:dateTime" minOccurs="0" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" minOccurs="0" />
              <xs:element name="thuegtgt" msprop:Generator_ColumnVarNameInTable="columnthuegtgt" msprop:Generator_ColumnPropNameInRow="thuegtgt" msprop:Generator_ColumnPropNameInTable="thuegtgtColumn" msprop:Generator_UserColumnName="thuegtgt" type="xs:int" minOccurs="0" />
              <xs:element name="thuexk" msprop:Generator_ColumnVarNameInTable="columnthuexk" msprop:Generator_ColumnPropNameInRow="thuexk" msprop:Generator_ColumnPropNameInTable="thuexkColumn" msprop:Generator_UserColumnName="thuexk" type="xs:int" minOccurs="0" />
              <xs:element name="nguoilap" msprop:Generator_ColumnVarNameInTable="columnnguoilap" msprop:Generator_ColumnPropNameInRow="nguoilap" msprop:Generator_ColumnPropNameInTable="nguoilapColumn" msprop:Generator_UserColumnName="nguoilap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nguoiduyet" msprop:Generator_ColumnVarNameInTable="columnnguoiduyet" msprop:Generator_ColumnPropNameInRow="nguoiduyet" msprop:Generator_ColumnPropNameInTable="nguoiduyetColumn" msprop:Generator_UserColumnName="nguoiduyet" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="loaiapdung" msprop:Generator_ColumnVarNameInTable="columnloaiapdung" msprop:Generator_ColumnPropNameInRow="loaiapdung" msprop:Generator_ColumnPropNameInTable="loaiapdungColumn" msprop:Generator_UserColumnName="loaiapdung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHBangGiaDMHang" msprop:Generator_TableClassName="BHBangGiaDMHangDataTable" msprop:Generator_TableVarName="tableBHBangGiaDMHang" msprop:Generator_TablePropName="BHBangGiaDMHang" msprop:Generator_RowDeletingName="BHBangGiaDMHangRowDeleting" msprop:Generator_RowChangingName="BHBangGiaDMHangRowChanging" msprop:Generator_RowEvHandlerName="BHBangGiaDMHangRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBangGiaDMHangRowDeleted" msprop:Generator_UserTableName="BHBangGiaDMHang" msprop:Generator_RowChangedName="BHBangGiaDMHangRowChanged" msprop:Generator_RowEvArgName="BHBangGiaDMHangRowChangeEvent" msprop:Generator_RowClassName="BHBangGiaDMHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kichco" msprop:Generator_ColumnVarNameInTable="columnkichco" msprop:Generator_ColumnPropNameInRow="kichco" msprop:Generator_ColumnPropNameInTable="kichcoColumn" msprop:Generator_UserColumnName="kichco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gianguyente" msprop:Generator_ColumnVarNameInTable="columngianguyente" msprop:Generator_ColumnPropNameInRow="gianguyente" msprop:Generator_ColumnPropNameInTable="gianguyenteColumn" msprop:Generator_UserColumnName="gianguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="giavnd" msprop:Generator_ColumnVarNameInTable="columngiavnd" msprop:Generator_ColumnPropNameInRow="giavnd" msprop:Generator_ColumnPropNameInTable="giavndColumn" msprop:Generator_UserColumnName="giavnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="thuegtgt" msprop:Generator_ColumnVarNameInTable="columnthuegtgt" msprop:Generator_ColumnPropNameInRow="thuegtgt" msprop:Generator_ColumnPropNameInTable="thuegtgtColumn" msprop:Generator_UserColumnName="thuegtgt" type="xs:int" minOccurs="0" />
              <xs:element name="thuexk" msprop:Generator_ColumnVarNameInTable="columnthuexk" msprop:Generator_ColumnPropNameInRow="thuexk" msprop:Generator_ColumnPropNameInTable="thuexkColumn" msprop:Generator_UserColumnName="thuexk" type="xs:int" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="mabanggia" msprop:Generator_ColumnVarNameInTable="columnmabanggia" msprop:Generator_ColumnPropNameInRow="mabanggia" msprop:Generator_ColumnPropNameInTable="mabanggiaColumn" msprop:Generator_UserColumnName="mabanggia" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngaybatdau" msprop:Generator_ColumnVarNameInTable="columnngaybatdau" msprop:Generator_ColumnPropNameInRow="ngaybatdau" msprop:Generator_ColumnPropNameInTable="ngaybatdauColumn" msprop:Generator_UserColumnName="ngaybatdau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngayketthuc" msprop:Generator_ColumnVarNameInTable="columnngayketthuc" msprop:Generator_ColumnPropNameInRow="ngayketthuc" msprop:Generator_ColumnPropNameInTable="ngayketthucColumn" msprop:Generator_UserColumnName="ngayketthuc" type="xs:dateTime" minOccurs="0" />
              <xs:element name="tilelai" msprop:Generator_ColumnVarNameInTable="columntilelai" msprop:Generator_ColumnPropNameInRow="tilelai" msprop:Generator_ColumnPropNameInTable="tilelaiColumn" msprop:Generator_UserColumnName="tilelai" type="xs:int" minOccurs="0" />
              <xs:element name="giaban" msprop:Generator_ColumnVarNameInTable="columngiaban" msprop:Generator_ColumnPropNameInRow="giaban" msprop:Generator_ColumnPropNameInTable="giabanColumn" msprop:Generator_UserColumnName="giaban" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMManHinh" msprop:Generator_TableClassName="DMManHinhDataTable" msprop:Generator_TableVarName="tableDMManHinh" msprop:Generator_TablePropName="DMManHinh" msprop:Generator_RowDeletingName="DMManHinhRowDeleting" msprop:Generator_RowChangingName="DMManHinhRowChanging" msprop:Generator_RowEvHandlerName="DMManHinhRowChangeEventHandler" msprop:Generator_RowDeletedName="DMManHinhRowDeleted" msprop:Generator_UserTableName="DMManHinh" msprop:Generator_RowChangedName="DMManHinhRowChanged" msprop:Generator_RowEvArgName="DMManHinhRowChangeEvent" msprop:Generator_RowClassName="DMManHinhRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ten" msprop:Generator_ColumnVarNameInTable="columnten" msprop:Generator_ColumnPropNameInRow="ten" msprop:Generator_ColumnPropNameInTable="tenColumn" msprop:Generator_UserColumnName="ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phanhe" msprop:Generator_ColumnVarNameInTable="columnphanhe" msprop:Generator_ColumnPropNameInRow="phanhe" msprop:Generator_ColumnPropNameInTable="phanheColumn" msprop:Generator_UserColumnName="phanhe" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMManHinhChiTiet" msprop:Generator_TableClassName="DMManHinhChiTietDataTable" msprop:Generator_TableVarName="tableDMManHinhChiTiet" msprop:Generator_TablePropName="DMManHinhChiTiet" msprop:Generator_RowDeletingName="DMManHinhChiTietRowDeleting" msprop:Generator_RowChangingName="DMManHinhChiTietRowChanging" msprop:Generator_RowEvHandlerName="DMManHinhChiTietRowChangeEventHandler" msprop:Generator_RowDeletedName="DMManHinhChiTietRowDeleted" msprop:Generator_UserTableName="DMManHinhChiTiet" msprop:Generator_RowChangedName="DMManHinhChiTietRowChanged" msprop:Generator_RowEvArgName="DMManHinhChiTietRowChangeEvent" msprop:Generator_RowClassName="DMManHinhChiTietRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaicontrol" msprop:Generator_ColumnVarNameInTable="columnloaicontrol" msprop:Generator_ColumnPropNameInRow="loaicontrol" msprop:Generator_ColumnPropNameInTable="loaicontrolColumn" msprop:Generator_UserColumnName="loaicontrol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="control" msprop:Generator_ColumnVarNameInTable="columncontrol" msprop:Generator_ColumnPropNameInRow="control" msprop:Generator_ColumnPropNameInTable="controlColumn" msprop:Generator_UserColumnName="control" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="caption" msprop:Generator_ColumnVarNameInTable="columncaption" msprop:Generator_ColumnPropNameInRow="caption" msprop:Generator_ColumnPropNameInTable="captionColumn" msprop:Generator_UserColumnName="caption" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMManHinhChiTietGridColumn" msprop:Generator_TableClassName="DMManHinhChiTietGridColumnDataTable" msprop:Generator_TableVarName="tableDMManHinhChiTietGridColumn" msprop:Generator_TablePropName="DMManHinhChiTietGridColumn" msprop:Generator_RowDeletingName="DMManHinhChiTietGridColumnRowDeleting" msprop:Generator_RowChangingName="DMManHinhChiTietGridColumnRowChanging" msprop:Generator_RowEvHandlerName="DMManHinhChiTietGridColumnRowChangeEventHandler" msprop:Generator_RowDeletedName="DMManHinhChiTietGridColumnRowDeleted" msprop:Generator_UserTableName="DMManHinhChiTietGridColumn" msprop:Generator_RowChangedName="DMManHinhChiTietGridColumnRowChanged" msprop:Generator_RowEvArgName="DMManHinhChiTietGridColumnRowChangeEvent" msprop:Generator_RowClassName="DMManHinhChiTietGridColumnRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma" type="xs:string" minOccurs="0" />
              <xs:element name="macontrol" msprop:Generator_ColumnVarNameInTable="columnmacontrol" msprop:Generator_ColumnPropNameInRow="macontrol" msprop:Generator_ColumnPropNameInTable="macontrolColumn" msprop:Generator_UserColumnName="macontrol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gridcolumn" msprop:Generator_ColumnVarNameInTable="columngridcolumn" msprop:Generator_ColumnPropNameInRow="gridcolumn" msprop:Generator_ColumnPropNameInTable="gridcolumnColumn" msprop:Generator_UserColumnName="gridcolumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="caption" msprop:Generator_ColumnVarNameInTable="columncaption" msprop:Generator_ColumnPropNameInRow="caption" msprop:Generator_ColumnPropNameInTable="captionColumn" msprop:Generator_UserColumnName="caption" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHBangGiaDoiTuongApDung" msprop:Generator_TableClassName="BHBangGiaDoiTuongApDungDataTable" msprop:Generator_TableVarName="tableBHBangGiaDoiTuongApDung" msprop:Generator_RowChangedName="BHBangGiaDoiTuongApDungRowChanged" msprop:Generator_TablePropName="BHBangGiaDoiTuongApDung" msprop:Generator_RowDeletingName="BHBangGiaDoiTuongApDungRowDeleting" msprop:Generator_RowChangingName="BHBangGiaDoiTuongApDungRowChanging" msprop:Generator_RowEvHandlerName="BHBangGiaDoiTuongApDungRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBangGiaDoiTuongApDungRowDeleted" msprop:Generator_RowClassName="BHBangGiaDoiTuongApDungRow" msprop:Generator_UserTableName="BHBangGiaDoiTuongApDung" msprop:Generator_RowEvArgName="BHBangGiaDoiTuongApDungRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhachhang" msprop:Generator_ColumnVarNameInTable="columnmakhachhang" msprop:Generator_ColumnPropNameInRow="makhachhang" msprop:Generator_ColumnPropNameInTable="makhachhangColumn" msprop:Generator_UserColumnName="makhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenkhachhang" msprop:Generator_ColumnVarNameInTable="columntenkhachhang" msprop:Generator_ColumnPropNameInRow="tenkhachhang" msprop:Generator_ColumnPropNameInTable="tenkhachhangColumn" msprop:Generator_UserColumnName="tenkhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thanhtoan" msprop:Generator_ColumnVarNameInTable="columnthanhtoan" msprop:Generator_ColumnPropNameInRow="thanhtoan" msprop:Generator_ColumnPropNameInTable="thanhtoanColumn" msprop:Generator_UserColumnName="thanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="giaohang" msprop:Generator_ColumnVarNameInTable="columngiaohang" msprop:Generator_ColumnPropNameInRow="giaohang" msprop:Generator_ColumnPropNameInTable="giaohangColumn" msprop:Generator_UserColumnName="giaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KHThue" msprop:Generator_TableClassName="KHThueDataTable" msprop:Generator_TableVarName="tableKHThue" msprop:Generator_TablePropName="KHThue" msprop:Generator_RowDeletingName="KHThueRowDeleting" msprop:Generator_RowChangingName="KHThueRowChanging" msprop:Generator_RowEvHandlerName="KHThueRowChangeEventHandler" msprop:Generator_RowDeletedName="KHThueRowDeleted" msprop:Generator_UserTableName="KHThue" msprop:Generator_RowChangedName="KHThueRowChanged" msprop:Generator_RowEvArgName="KHThueRowChangeEvent" msprop:Generator_RowClassName="KHThueRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanthue" msprop:Generator_ColumnVarNameInTable="columntaikhoanthue" msprop:Generator_ColumnPropNameInRow="taikhoanthue" msprop:Generator_ColumnPropNameInTable="taikhoanthueColumn" msprop:Generator_UserColumnName="taikhoanthue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihoadon" msprop:Generator_ColumnVarNameInTable="columnloaihoadon" msprop:Generator_ColumnPropNameInRow="loaihoadon" msprop:Generator_ColumnPropNameInTable="loaihoadonColumn" msprop:Generator_UserColumnName="loaihoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="diengiaithue" msprop:Generator_ColumnVarNameInTable="columndiengiaithue" msprop:Generator_ColumnPropNameInRow="diengiaithue" msprop:Generator_ColumnPropNameInTable="diengiaithueColumn" msprop:Generator_UserColumnName="diengiaithue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doanhthu" msprop:Generator_ColumnVarNameInTable="columndoanhthu" msprop:Generator_ColumnPropNameInRow="doanhthu" msprop:Generator_ColumnPropNameInTable="doanhthuColumn" msprop:Generator_UserColumnName="doanhthu" type="xs:decimal" minOccurs="0" />
              <xs:element name="phantramthue" msprop:Generator_ColumnVarNameInTable="columnphantramthue" msprop:Generator_ColumnPropNameInRow="phantramthue" msprop:Generator_ColumnPropNameInTable="phantramthueColumn" msprop:Generator_UserColumnName="phantramthue" type="xs:int" minOccurs="0" />
              <xs:element name="tienthue" msprop:Generator_ColumnVarNameInTable="columntienthue" msprop:Generator_ColumnPropNameInRow="tienthue" msprop:Generator_ColumnPropNameInTable="tienthueColumn" msprop:Generator_UserColumnName="tienthue" type="xs:decimal" minOccurs="0" />
              <xs:element name="tongcong" msprop:Generator_ColumnVarNameInTable="columntongcong" msprop:Generator_ColumnPropNameInRow="tongcong" msprop:Generator_ColumnPropNameInTable="tongcongColumn" msprop:Generator_UserColumnName="tongcong" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHBanHangThue" msprop:Generator_TableClassName="BHBanHangThueDataTable" msprop:Generator_TableVarName="tableBHBanHangThue" msprop:Generator_RowChangedName="BHBanHangThueRowChanged" msprop:Generator_TablePropName="BHBanHangThue" msprop:Generator_RowDeletingName="BHBanHangThueRowDeleting" msprop:Generator_RowChangingName="BHBanHangThueRowChanging" msprop:Generator_RowEvHandlerName="BHBanHangThueRowChangeEventHandler" msprop:Generator_RowDeletedName="BHBanHangThueRowDeleted" msprop:Generator_RowClassName="BHBanHangThueRow" msprop:Generator_UserTableName="BHBanHangThue" msprop:Generator_RowEvArgName="BHBanHangThueRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="manghiepvu" msprop:Generator_ColumnVarNameInTable="columnmanghiepvu" msprop:Generator_ColumnPropNameInRow="manghiepvu" msprop:Generator_ColumnPropNameInTable="manghiepvuColumn" msprop:Generator_UserColumnName="manghiepvu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="taikhoanthue" msprop:Generator_ColumnVarNameInTable="columntaikhoanthue" msprop:Generator_ColumnPropNameInRow="taikhoanthue" msprop:Generator_ColumnPropNameInTable="taikhoanthueColumn" msprop:Generator_UserColumnName="taikhoanthue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sochungtu" msprop:Generator_ColumnVarNameInTable="columnsochungtu" msprop:Generator_ColumnPropNameInRow="sochungtu" msprop:Generator_ColumnPropNameInTable="sochungtuColumn" msprop:Generator_UserColumnName="sochungtu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaychungtu" msprop:Generator_ColumnVarNameInTable="columnngaychungtu" msprop:Generator_ColumnPropNameInRow="ngaychungtu" msprop:Generator_ColumnPropNameInTable="ngaychungtuColumn" msprop:Generator_UserColumnName="ngaychungtu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="sohoadon" msprop:Generator_ColumnVarNameInTable="columnsohoadon" msprop:Generator_ColumnPropNameInRow="sohoadon" msprop:Generator_ColumnPropNameInTable="sohoadonColumn" msprop:Generator_UserColumnName="sohoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="loaihoadon" msprop:Generator_ColumnVarNameInTable="columnloaihoadon" msprop:Generator_ColumnPropNameInRow="loaihoadon" msprop:Generator_ColumnPropNameInTable="loaihoadonColumn" msprop:Generator_UserColumnName="loaihoadon" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhoadon" msprop:Generator_ColumnVarNameInTable="columnngayhoadon" msprop:Generator_ColumnPropNameInRow="ngayhoadon" msprop:Generator_ColumnPropNameInTable="ngayhoadonColumn" msprop:Generator_UserColumnName="ngayhoadon" type="xs:dateTime" minOccurs="0" />
              <xs:element name="diengiaithue" msprop:Generator_ColumnVarNameInTable="columndiengiaithue" msprop:Generator_ColumnPropNameInRow="diengiaithue" msprop:Generator_ColumnPropNameInTable="diengiaithueColumn" msprop:Generator_UserColumnName="diengiaithue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="madonvi" msprop:Generator_ColumnVarNameInTable="columnmadonvi" msprop:Generator_ColumnPropNameInRow="madonvi" msprop:Generator_ColumnPropNameInTable="madonviColumn" msprop:Generator_UserColumnName="madonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendonvi" msprop:Generator_ColumnVarNameInTable="columntendonvi" msprop:Generator_ColumnPropNameInRow="tendonvi" msprop:Generator_ColumnPropNameInTable="tendonviColumn" msprop:Generator_UserColumnName="tendonvi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="masothue" msprop:Generator_ColumnVarNameInTable="columnmasothue" msprop:Generator_ColumnPropNameInRow="masothue" msprop:Generator_ColumnPropNameInTable="masothueColumn" msprop:Generator_UserColumnName="masothue" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doanhthu" msprop:Generator_ColumnVarNameInTable="columndoanhthu" msprop:Generator_ColumnPropNameInRow="doanhthu" msprop:Generator_ColumnPropNameInTable="doanhthuColumn" msprop:Generator_UserColumnName="doanhthu" type="xs:decimal" minOccurs="0" />
              <xs:element name="phantramthue" msprop:Generator_ColumnVarNameInTable="columnphantramthue" msprop:Generator_ColumnPropNameInRow="phantramthue" msprop:Generator_ColumnPropNameInTable="phantramthueColumn" msprop:Generator_UserColumnName="phantramthue" type="xs:int" minOccurs="0" />
              <xs:element name="tienthue" msprop:Generator_ColumnVarNameInTable="columntienthue" msprop:Generator_ColumnPropNameInRow="tienthue" msprop:Generator_ColumnPropNameInTable="tienthueColumn" msprop:Generator_UserColumnName="tienthue" type="xs:decimal" minOccurs="0" />
              <xs:element name="tongcong" msprop:Generator_ColumnVarNameInTable="columntongcong" msprop:Generator_ColumnPropNameInRow="tongcong" msprop:Generator_ColumnPropNameInTable="tongcongColumn" msprop:Generator_UserColumnName="tongcong" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHChuongTrinhKhuyenMai" msprop:Generator_TableClassName="BHChuongTrinhKhuyenMaiDataTable" msprop:Generator_TableVarName="tableBHChuongTrinhKhuyenMai" msprop:Generator_TablePropName="BHChuongTrinhKhuyenMai" msprop:Generator_RowDeletingName="BHChuongTrinhKhuyenMaiRowDeleting" msprop:Generator_RowChangingName="BHChuongTrinhKhuyenMaiRowChanging" msprop:Generator_RowEvHandlerName="BHChuongTrinhKhuyenMaiRowChangeEventHandler" msprop:Generator_RowDeletedName="BHChuongTrinhKhuyenMaiRowDeleted" msprop:Generator_UserTableName="BHChuongTrinhKhuyenMai" msprop:Generator_RowChangedName="BHChuongTrinhKhuyenMaiRowChanged" msprop:Generator_RowEvArgName="BHChuongTrinhKhuyenMaiRowChangeEvent" msprop:Generator_RowClassName="BHChuongTrinhKhuyenMaiRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mactkm" msprop:Generator_ColumnVarNameInTable="columnmactkm" msprop:Generator_ColumnPropNameInRow="mactkm" msprop:Generator_ColumnPropNameInTable="mactkmColumn" msprop:Generator_UserColumnName="mactkm" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngaylap" msprop:Generator_ColumnVarNameInTable="columnngaylap" msprop:Generator_ColumnPropNameInRow="ngaylap" msprop:Generator_ColumnPropNameInTable="ngaylapColumn" msprop:Generator_UserColumnName="ngaylap" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngaybatdau" msprop:Generator_ColumnVarNameInTable="columnngaybatdau" msprop:Generator_ColumnPropNameInRow="ngaybatdau" msprop:Generator_ColumnPropNameInTable="ngaybatdauColumn" msprop:Generator_UserColumnName="ngaybatdau" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ngayketthuc" msprop:Generator_ColumnVarNameInTable="columnngayketthuc" msprop:Generator_ColumnPropNameInRow="ngayketthuc" msprop:Generator_ColumnPropNameInTable="ngayketthucColumn" msprop:Generator_UserColumnName="ngayketthuc" type="xs:dateTime" minOccurs="0" />
              <xs:element name="loaitien" msprop:Generator_ColumnVarNameInTable="columnloaitien" msprop:Generator_ColumnPropNameInRow="loaitien" msprop:Generator_ColumnPropNameInTable="loaitienColumn" msprop:Generator_UserColumnName="loaitien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tygia" msprop:Generator_ColumnVarNameInTable="columntygia" msprop:Generator_ColumnPropNameInRow="tygia" msprop:Generator_ColumnPropNameInTable="tygiaColumn" msprop:Generator_UserColumnName="tygia" type="xs:decimal" minOccurs="0" />
              <xs:element name="loaikhuyenmai" msprop:Generator_ColumnVarNameInTable="columnloaikhuyenmai" msprop:Generator_ColumnPropNameInRow="loaikhuyenmai" msprop:Generator_ColumnPropNameInTable="loaikhuyenmaiColumn" msprop:Generator_UserColumnName="loaikhuyenmai" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="loaiapdung" msprop:Generator_ColumnVarNameInTable="columnloaiapdung" msprop:Generator_ColumnPropNameInRow="loaiapdung" msprop:Generator_ColumnPropNameInTable="loaiapdungColumn" msprop:Generator_UserColumnName="loaiapdung" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHChuongTrinhKhuyenMaiDMHang" msprop:Generator_TableClassName="BHChuongTrinhKhuyenMaiDMHangDataTable" msprop:Generator_TableVarName="tableBHChuongTrinhKhuyenMaiDMHang" msprop:Generator_TablePropName="BHChuongTrinhKhuyenMaiDMHang" msprop:Generator_RowDeletingName="BHChuongTrinhKhuyenMaiDMHangRowDeleting" msprop:Generator_RowChangingName="BHChuongTrinhKhuyenMaiDMHangRowChanging" msprop:Generator_RowEvHandlerName="BHChuongTrinhKhuyenMaiDMHangRowChangeEventHandler" msprop:Generator_RowDeletedName="BHChuongTrinhKhuyenMaiDMHangRowDeleted" msprop:Generator_UserTableName="BHChuongTrinhKhuyenMaiDMHang" msprop:Generator_RowChangedName="BHChuongTrinhKhuyenMaiDMHangRowChanged" msprop:Generator_RowEvArgName="BHChuongTrinhKhuyenMaiDMHangRowChangeEvent" msprop:Generator_RowClassName="BHChuongTrinhKhuyenMaiDMHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluongmua" msprop:Generator_ColumnVarNameInTable="columnsoluongmua" msprop:Generator_ColumnPropNameInRow="soluongmua" msprop:Generator_ColumnPropNameInTable="soluongmuaColumn" msprop:Generator_UserColumnName="soluongmua" type="xs:decimal" minOccurs="0" />
              <xs:element name="giatrimua" msprop:Generator_ColumnVarNameInTable="columngiatrimua" msprop:Generator_ColumnPropNameInRow="giatrimua" msprop:Generator_ColumnPropNameInTable="giatrimuaColumn" msprop:Generator_UserColumnName="giatrimua" type="xs:decimal" minOccurs="0" />
              <xs:element name="lanmua" msprop:Generator_ColumnVarNameInTable="columnlanmua" msprop:Generator_ColumnPropNameInRow="lanmua" msprop:Generator_ColumnPropNameInTable="lanmuaColumn" msprop:Generator_UserColumnName="lanmua" type="xs:decimal" minOccurs="0" />
              <xs:element name="chietkhau" msprop:Generator_ColumnVarNameInTable="columnchietkhau" msprop:Generator_ColumnPropNameInRow="chietkhau" msprop:Generator_ColumnPropNameInTable="chietkhauColumn" msprop:Generator_UserColumnName="chietkhau" type="xs:decimal" minOccurs="0" />
              <xs:element name="hangkhuyenmai" msprop:Generator_ColumnVarNameInTable="columnhangkhuyenmai" msprop:Generator_ColumnPropNameInRow="hangkhuyenmai" msprop:Generator_ColumnPropNameInTable="hangkhuyenmaiColumn" msprop:Generator_UserColumnName="hangkhuyenmai" type="xs:boolean" minOccurs="0" />
              <xs:element name="soluongtang" msprop:Generator_ColumnVarNameInTable="columnsoluongtang" msprop:Generator_ColumnPropNameInRow="soluongtang" msprop:Generator_ColumnPropNameInTable="soluongtangColumn" msprop:Generator_UserColumnName="soluongtang" type="xs:decimal" minOccurs="0" />
              <xs:element name="quidoithanhtien" msprop:Generator_ColumnVarNameInTable="columnquidoithanhtien" msprop:Generator_ColumnPropNameInRow="quidoithanhtien" msprop:Generator_ColumnPropNameInTable="quidoithanhtienColumn" msprop:Generator_UserColumnName="quidoithanhtien" type="xs:decimal" minOccurs="0" />
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="mactkm" msprop:Generator_ColumnVarNameInTable="columnmactkm" msprop:Generator_ColumnPropNameInRow="mactkm" msprop:Generator_ColumnPropNameInTable="mactkmColumn" msprop:Generator_UserColumnName="mactkm" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHChuongTrinhKhuyenMaiDoiTuongApDung" msprop:Generator_TableClassName="BHChuongTrinhKhuyenMaiDoiTuongApDungDataTable" msprop:Generator_TableVarName="tableBHChuongTrinhKhuyenMaiDoiTuongApDung" msprop:Generator_TablePropName="BHChuongTrinhKhuyenMaiDoiTuongApDung" msprop:Generator_RowDeletingName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowDeleting" msprop:Generator_RowChangingName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowChanging" msprop:Generator_RowEvHandlerName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowChangeEventHandler" msprop:Generator_RowDeletedName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowDeleted" msprop:Generator_UserTableName="BHChuongTrinhKhuyenMaiDoiTuongApDung" msprop:Generator_RowChangedName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowChanged" msprop:Generator_RowEvArgName="BHChuongTrinhKhuyenMaiDoiTuongApDungRowChangeEvent" msprop:Generator_RowClassName="BHChuongTrinhKhuyenMaiDoiTuongApDungRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="makhachhang" msprop:Generator_ColumnVarNameInTable="columnmakhachhang" msprop:Generator_ColumnPropNameInRow="makhachhang" msprop:Generator_ColumnPropNameInTable="makhachhangColumn" msprop:Generator_UserColumnName="makhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenkhachhang" msprop:Generator_ColumnVarNameInTable="columntenkhachhang" msprop:Generator_ColumnPropNameInRow="tenkhachhang" msprop:Generator_ColumnPropNameInTable="tenkhachhangColumn" msprop:Generator_UserColumnName="tenkhachhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thanhtoan" msprop:Generator_ColumnVarNameInTable="columnthanhtoan" msprop:Generator_ColumnPropNameInRow="thanhtoan" msprop:Generator_ColumnPropNameInTable="thanhtoanColumn" msprop:Generator_UserColumnName="thanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="giaohang" msprop:Generator_ColumnVarNameInTable="columngiaohang" msprop:Generator_ColumnPropNameInRow="giaohang" msprop:Generator_ColumnPropNameInTable="giaohangColumn" msprop:Generator_UserColumnName="giaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="mactkm" msprop:Generator_ColumnVarNameInTable="columnmactkm" msprop:Generator_ColumnPropNameInRow="mactkm" msprop:Generator_ColumnPropNameInTable="mactkmColumn" msprop:Generator_UserColumnName="mactkm" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHHopDongMuaBan" msprop:Generator_TableClassName="BHHopDongMuaBanDataTable" msprop:Generator_TableVarName="tableBHHopDongMuaBan" msprop:Generator_TablePropName="BHHopDongMuaBan" msprop:Generator_RowDeletingName="BHHopDongMuaBanRowDeleting" msprop:Generator_RowChangingName="BHHopDongMuaBanRowChanging" msprop:Generator_RowEvHandlerName="BHHopDongMuaBanRowChangeEventHandler" msprop:Generator_RowDeletedName="BHHopDongMuaBanRowDeleted" msprop:Generator_UserTableName="BHHopDongMuaBan" msprop:Generator_RowChangedName="BHHopDongMuaBanRowChanged" msprop:Generator_RowEvArgName="BHHopDongMuaBanRowChangeEvent" msprop:Generator_RowClassName="BHHopDongMuaBanRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahopdong" msprop:Generator_ColumnVarNameInTable="columnmahopdong" msprop:Generator_ColumnPropNameInRow="mahopdong" msprop:Generator_ColumnPropNameInTable="mahopdongColumn" msprop:Generator_UserColumnName="mahopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhopdong" msprop:Generator_ColumnVarNameInTable="columnngayhopdong" msprop:Generator_ColumnPropNameInRow="ngayhopdong" msprop:Generator_ColumnPropNameInTable="ngayhopdongColumn" msprop:Generator_UserColumnName="ngayhopdong" type="xs:dateTime" minOccurs="0" />
              <xs:element name="loaihopdong" msprop:Generator_ColumnVarNameInTable="columnloaihopdong" msprop:Generator_ColumnPropNameInRow="loaihopdong" msprop:Generator_ColumnPropNameInTable="loaihopdongColumn" msprop:Generator_UserColumnName="loaihopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="doituong" msprop:Generator_ColumnVarNameInTable="columndoituong" msprop:Generator_ColumnPropNameInRow="doituong" msprop:Generator_ColumnPropNameInTable="doituongColumn" msprop:Generator_UserColumnName="doituong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachi" msprop:Generator_ColumnVarNameInTable="columndiachi" msprop:Generator_ColumnPropNameInRow="diachi" msprop:Generator_ColumnPropNameInTable="diachiColumn" msprop:Generator_UserColumnName="diachi" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dieukiengiaohang" msprop:Generator_ColumnVarNameInTable="columndieukiengiaohang" msprop:Generator_ColumnPropNameInRow="dieukiengiaohang" msprop:Generator_ColumnPropNameInTable="dieukiengiaohangColumn" msprop:Generator_UserColumnName="dieukiengiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thoigiangiaohang" msprop:Generator_ColumnVarNameInTable="columnthoigiangiaohang" msprop:Generator_ColumnPropNameInRow="thoigiangiaohang" msprop:Generator_ColumnPropNameInTable="thoigiangiaohangColumn" msprop:Generator_UserColumnName="thoigiangiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="thanhtoan" msprop:Generator_ColumnVarNameInTable="columnthanhtoan" msprop:Generator_ColumnPropNameInRow="thanhtoan" msprop:Generator_ColumnPropNameInTable="thanhtoanColumn" msprop:Generator_UserColumnName="thanhtoan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="giaohang" msprop:Generator_ColumnVarNameInTable="columngiaohang" msprop:Generator_ColumnPropNameInRow="giaohang" msprop:Generator_ColumnPropNameInTable="giaohangColumn" msprop:Generator_UserColumnName="giaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="diachigiaohang" msprop:Generator_ColumnVarNameInTable="columndiachigiaohang" msprop:Generator_ColumnPropNameInRow="diachigiaohang" msprop:Generator_ColumnPropNameInTable="diachigiaohangColumn" msprop:Generator_UserColumnName="diachigiaohang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phuongtienvanchuyen" msprop:Generator_ColumnVarNameInTable="columnphuongtienvanchuyen" msprop:Generator_ColumnPropNameInRow="phuongtienvanchuyen" msprop:Generator_ColumnPropNameInTable="phuongtienvanchuyenColumn" msprop:Generator_UserColumnName="phuongtienvanchuyen" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BHHopDongMuaBanDMHang" msprop:Generator_TableClassName="BHHopDongMuaBanDMHangDataTable" msprop:Generator_TableVarName="tableBHHopDongMuaBanDMHang" msprop:Generator_TablePropName="BHHopDongMuaBanDMHang" msprop:Generator_RowDeletingName="BHHopDongMuaBanDMHangRowDeleting" msprop:Generator_RowChangingName="BHHopDongMuaBanDMHangRowChanging" msprop:Generator_RowEvHandlerName="BHHopDongMuaBanDMHangRowChangeEventHandler" msprop:Generator_RowDeletedName="BHHopDongMuaBanDMHangRowDeleted" msprop:Generator_UserTableName="BHHopDongMuaBanDMHang" msprop:Generator_RowChangedName="BHHopDongMuaBanDMHangRowChanged" msprop:Generator_RowEvArgName="BHHopDongMuaBanDMHangRowChangeEvent" msprop:Generator_RowClassName="BHHopDongMuaBanDMHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mahang" msprop:Generator_ColumnVarNameInTable="columnmahang" msprop:Generator_ColumnPropNameInRow="mahang" msprop:Generator_ColumnPropNameInTable="mahangColumn" msprop:Generator_UserColumnName="mahang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tenhang" msprop:Generator_ColumnVarNameInTable="columntenhang" msprop:Generator_ColumnPropNameInRow="tenhang" msprop:Generator_ColumnPropNameInTable="tenhangColumn" msprop:Generator_UserColumnName="tenhang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="donvitinh" msprop:Generator_ColumnVarNameInTable="columndonvitinh" msprop:Generator_ColumnPropNameInRow="donvitinh" msprop:Generator_ColumnPropNameInTable="donvitinhColumn" msprop:Generator_UserColumnName="donvitinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="quicach" msprop:Generator_ColumnVarNameInTable="columnquicach" msprop:Generator_ColumnPropNameInRow="quicach" msprop:Generator_ColumnPropNameInTable="quicachColumn" msprop:Generator_UserColumnName="quicach" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kichco" msprop:Generator_ColumnVarNameInTable="columnkichco" msprop:Generator_ColumnPropNameInRow="kichco" msprop:Generator_ColumnPropNameInTable="kichcoColumn" msprop:Generator_UserColumnName="kichco" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chebien" msprop:Generator_ColumnVarNameInTable="columnchebien" msprop:Generator_ColumnPropNameInRow="chebien" msprop:Generator_ColumnPropNameInTable="chebienColumn" msprop:Generator_UserColumnName="chebien" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="baoquan" msprop:Generator_ColumnVarNameInTable="columnbaoquan" msprop:Generator_ColumnPropNameInRow="baoquan" msprop:Generator_ColumnPropNameInTable="baoquanColumn" msprop:Generator_UserColumnName="baoquan" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="phamcap" msprop:Generator_ColumnVarNameInTable="columnphamcap" msprop:Generator_ColumnPropNameInRow="phamcap" msprop:Generator_ColumnPropNameInTable="phamcapColumn" msprop:Generator_UserColumnName="phamcap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="soluong" msprop:Generator_ColumnVarNameInTable="columnsoluong" msprop:Generator_ColumnPropNameInRow="soluong" msprop:Generator_ColumnPropNameInTable="soluongColumn" msprop:Generator_UserColumnName="soluong" type="xs:decimal" minOccurs="0" />
              <xs:element name="dongianguyente" msprop:Generator_ColumnVarNameInTable="columndongianguyente" msprop:Generator_ColumnPropNameInRow="dongianguyente" msprop:Generator_ColumnPropNameInTable="dongianguyenteColumn" msprop:Generator_UserColumnName="dongianguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="dongiavnd" msprop:Generator_ColumnVarNameInTable="columndongiavnd" msprop:Generator_ColumnPropNameInRow="dongiavnd" msprop:Generator_ColumnPropNameInTable="dongiavndColumn" msprop:Generator_UserColumnName="dongiavnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtiennguyente" msprop:Generator_ColumnVarNameInTable="columnthanhtiennguyente" msprop:Generator_ColumnPropNameInRow="thanhtiennguyente" msprop:Generator_ColumnPropNameInTable="thanhtiennguyenteColumn" msprop:Generator_UserColumnName="thanhtiennguyente" type="xs:decimal" minOccurs="0" />
              <xs:element name="thanhtienvnd" msprop:Generator_ColumnVarNameInTable="columnthanhtienvnd" msprop:Generator_ColumnPropNameInRow="thanhtienvnd" msprop:Generator_ColumnPropNameInTable="thanhtienvndColumn" msprop:Generator_UserColumnName="thanhtienvnd" type="xs:decimal" minOccurs="0" />
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
              <xs:element name="mahopdong" msprop:Generator_ColumnVarNameInTable="columnmahopdong" msprop:Generator_ColumnPropNameInRow="mahopdong" msprop:Generator_ColumnPropNameInTable="mahopdongColumn" msprop:Generator_UserColumnName="mahopdong" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ngayhopdong" msprop:Generator_ColumnVarNameInTable="columnngayhopdong" msprop:Generator_ColumnPropNameInRow="ngayhopdong" msprop:Generator_ColumnPropNameInTable="ngayhopdongColumn" msprop:Generator_UserColumnName="ngayhopdong" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DMHangHoa_DonViTinhLonHon" msprop:Generator_TableClassName="DMHangHoa_DonViTinhLonHonDataTable" msprop:Generator_TableVarName="tableDMHangHoa_DonViTinhLonHon" msprop:Generator_TablePropName="DMHangHoa_DonViTinhLonHon" msprop:Generator_RowDeletingName="DMHangHoa_DonViTinhLonHonRowDeleting" msprop:Generator_RowChangingName="DMHangHoa_DonViTinhLonHonRowChanging" msprop:Generator_RowEvHandlerName="DMHangHoa_DonViTinhLonHonRowChangeEventHandler" msprop:Generator_RowDeletedName="DMHangHoa_DonViTinhLonHonRowDeleted" msprop:Generator_UserTableName="DMHangHoa_DonViTinhLonHon" msprop:Generator_RowChangedName="DMHangHoa_DonViTinhLonHonRowChanged" msprop:Generator_RowEvArgName="DMHangHoa_DonViTinhLonHonRowChangeEvent" msprop:Generator_RowClassName="DMHangHoa_DonViTinhLonHonRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ma" msprop:Generator_ColumnVarNameInTable="columnma" msprop:Generator_ColumnPropNameInRow="ma" msprop:Generator_ColumnPropNameInTable="maColumn" msprop:Generator_UserColumnName="ma">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="heso" msprop:Generator_ColumnVarNameInTable="columnheso" msprop:Generator_ColumnPropNameInRow="heso" msprop:Generator_ColumnPropNameInTable="hesoColumn" msprop:Generator_UserColumnName="heso" type="xs:decimal" minOccurs="0" />
              <xs:element name="dvt" msprop:Generator_ColumnVarNameInTable="columndvt" msprop:Generator_ColumnPropNameInRow="dvt" msprop:Generator_ColumnPropNameInTable="dvtColumn" msprop:Generator_UserColumnName="dvt">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tendvt" msprop:Generator_ColumnVarNameInTable="columntendvt" msprop:Generator_ColumnPropNameInRow="tendvt" msprop:Generator_ColumnPropNameInTable="tendvtColumn" msprop:Generator_UserColumnName="tendvt">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dvtmacdinh" msprop:Generator_ColumnVarNameInTable="columndvtmacdinh" msprop:Generator_ColumnPropNameInRow="dvtmacdinh" msprop:Generator_ColumnPropNameInTable="dvtmacdinhColumn" msprop:Generator_UserColumnName="dvtmacdinh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tinhtrang" msprop:Generator_ColumnVarNameInTable="columntinhtrang" msprop:Generator_ColumnPropNameInRow="tinhtrang" msprop:Generator_ColumnPropNameInTable="tinhtrangColumn" msprop:Generator_UserColumnName="tinhtrang" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="chinhanh" msprop:Generator_ColumnVarNameInTable="columnchinhanh" msprop:Generator_ColumnPropNameInRow="chinhanh" msprop:Generator_ColumnPropNameInTable="chinhanhColumn" msprop:Generator_UserColumnName="chinhanh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="uid" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" type="xs:string" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBanHangChiTiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHBanHang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBanHang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="Constraint2">
      <xs:selector xpath=".//mstns:BHBanHang" />
      <xs:field xpath="mstns:ma" />
    </xs:unique>
    <xs:unique name="DoSinhHieu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DoSinhHieu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DoSinhHieuTienSuBenh_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DoSinhHieuTienSuBenh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="KHHangHoa_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KHHangHoa" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="KHHangHoa_Constraint2" msdata:ConstraintName="Constraint2">
      <xs:selector xpath=".//mstns:KHHangHoa" />
      <xs:field xpath="mstns:ma" />
    </xs:unique>
    <xs:unique name="KHHangHoaChiTiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KHHangHoaChiTiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="MHDonDatHang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:MHDonDatHang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="MHDonDatHangChiTiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:MHDonDatHangChiTiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenh_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenhDichVu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenhDichVu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenhToaThuoc_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenhToaThuoc" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ToaThuocMau_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ToaThuocMau" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="ToaThuocMauChiTiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ToaThuocMauChiTiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DMHangHoa_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMHangHoa" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DMHangHoa_DonViTinh_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMHangHoa_DonViTinh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="TiepNhanBenhNhan_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TiepNhanBenhNhan" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="TiepNhanBenhNhanDichVu_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TiepNhanBenhNhanDichVu" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenhChuyenKhoa_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenhChuyenKhoa" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenhChuyenVien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenhChuyenVien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PhieuKhamBenhNhapVien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PhieuKhamBenhNhapVien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="TCThue_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TCThue" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="TCTien_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TCTien" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="TCTienChiTiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TCTienChiTiet" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHBangGia_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBangGia" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHBangGiaDMHang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBangGiaDMHang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DMManHinh_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMManHinh" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DMManHinhChiTiet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMManHinhChiTiet" />
      <xs:field xpath="mstns:uid" />
    </xs:unique>
    <xs:unique name="DMManHinhChiTietGridColumn_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMManHinhChiTietGridColumn" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHBangGiaDoiTuongApDung_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBangGiaDoiTuongApDung" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="KHThue_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KHThue" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHBanHangThue_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHBanHangThue" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHChuongTrinhKhuyenMai_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHChuongTrinhKhuyenMai" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHChuongTrinhKhuyenMaiDMHang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHChuongTrinhKhuyenMaiDMHang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHChuongTrinhKhuyenMaiDoiTuongApDung_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHChuongTrinhKhuyenMaiDoiTuongApDung" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHHopDongMuaBan_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHHopDongMuaBan" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="BHHopDongMuaBanDMHang_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BHHopDongMuaBanDMHang" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="DMHangHoa_DonViTinhLonHon_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DMHangHoa_DonViTinhLonHon" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:keyref name="FK__KHHangHoaChi__ma__42E1EEFE" refer="KHHangHoa_Constraint2" msprop:rel_Generator_UserChildTable="KHHangHoaChiTiet" msprop:rel_Generator_ChildPropName="GetKHHangHoaChiTietRows" msprop:rel_Generator_UserRelationName="FK__KHHangHoaChi__ma__42E1EEFE" msprop:rel_Generator_RelationVarName="relationFK__KHHangHoaChi__ma__42E1EEFE" msprop:rel_Generator_UserParentTable="KHHangHoa" msprop:rel_Generator_ParentPropName="KHHangHoaRow">
      <xs:selector xpath=".//mstns:KHHangHoaChiTiet" />
      <xs:field xpath="mstns:ma" />
    </xs:keyref>
    <xs:keyref name="FK__BHBanHangChi__ma__3C34F16F" refer="Constraint2" msprop:rel_Generator_UserChildTable="BHBanHangChiTiet" msprop:rel_Generator_ChildPropName="GetBHBanHangChiTietRows" msprop:rel_Generator_UserRelationName="FK__BHBanHangChi__ma__3C34F16F" msprop:rel_Generator_RelationVarName="relationFK__BHBanHangChi__ma__3C34F16F" msprop:rel_Generator_UserParentTable="BHBanHang" msprop:rel_Generator_ParentPropName="BHBanHangRow">
      <xs:selector xpath=".//mstns:BHBanHangChiTiet" />
      <xs:field xpath="mstns:ma" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_DoSinhHieuTienSuBenh_DoSinhHieu" msdata:parent="DoSinhHieu" msdata:child="DoSinhHieuTienSuBenh" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="DoSinhHieuTienSuBenh" msprop:Generator_ChildPropName="GetDoSinhHieuTienSuBenhRows" msprop:Generator_UserRelationName="FK_DoSinhHieuTienSuBenh_DoSinhHieu" msprop:Generator_ParentPropName="DoSinhHieuRow" msprop:Generator_RelationVarName="relationFK_DoSinhHieuTienSuBenh_DoSinhHieu" msprop:Generator_UserParentTable="DoSinhHieu" />
      <msdata:Relationship name="FK__MHDonDatHang__ma__45BE5BA9" msdata:parent="MHDonDatHang" msdata:child="MHDonDatHangChiTiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="MHDonDatHangChiTiet" msprop:Generator_ChildPropName="GetMHDonDatHangChiTietRows" msprop:Generator_UserRelationName="FK__MHDonDatHang__ma__45BE5BA9" msprop:Generator_ParentPropName="MHDonDatHangRow" msprop:Generator_RelationVarName="relationFK__MHDonDatHang__ma__45BE5BA9" msprop:Generator_UserParentTable="MHDonDatHang" />
      <msdata:Relationship name="FK_PhieuKhamBenhDichVu_PhieuKhamBenh" msdata:parent="PhieuKhamBenh" msdata:child="PhieuKhamBenhDichVu" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="PhieuKhamBenhDichVu" msprop:Generator_ChildPropName="GetPhieuKhamBenhDichVuRows" msprop:Generator_UserRelationName="FK_PhieuKhamBenhDichVu_PhieuKhamBenh" msprop:Generator_ParentPropName="PhieuKhamBenhRow" msprop:Generator_RelationVarName="relationFK_PhieuKhamBenhDichVu_PhieuKhamBenh" msprop:Generator_UserParentTable="PhieuKhamBenh" />
      <msdata:Relationship name="FK_PhieuKhamBenhToaThuoc_PhieuKhamBenhToaThuoc" msdata:parent="PhieuKhamBenh" msdata:child="PhieuKhamBenhToaThuoc" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="PhieuKhamBenhToaThuoc" msprop:Generator_ChildPropName="GetPhieuKhamBenhToaThuocRows" msprop:Generator_UserRelationName="FK_PhieuKhamBenhToaThuoc_PhieuKhamBenhToaThuoc" msprop:Generator_ParentPropName="PhieuKhamBenhRow" msprop:Generator_RelationVarName="relationFK_PhieuKhamBenhToaThuoc_PhieuKhamBenhToaThuoc" msprop:Generator_UserParentTable="PhieuKhamBenh" />
      <msdata:Relationship name="FK_ToaThuocMauChiTiet_ToaThuocMau" msdata:parent="ToaThuocMau" msdata:child="ToaThuocMauChiTiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="ToaThuocMauChiTiet" msprop:Generator_ChildPropName="GetToaThuocMauChiTietRows" msprop:Generator_UserRelationName="FK_ToaThuocMauChiTiet_ToaThuocMau" msprop:Generator_ParentPropName="ToaThuocMauRow" msprop:Generator_RelationVarName="relationFK_ToaThuocMauChiTiet_ToaThuocMau" msprop:Generator_UserParentTable="ToaThuocMau" />
      <msdata:Relationship name="FK__DMHangHoa_Do__ma__40F9A68C" msdata:parent="DMHangHoa" msdata:child="DMHangHoa_DonViTinh" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="DMHangHoa_DonViTinh" msprop:Generator_ChildPropName="GetDMHangHoa_DonViTinhRows" msprop:Generator_UserRelationName="FK__DMHangHoa_Do__ma__40F9A68C" msprop:Generator_RelationVarName="relationFK__DMHangHoa_Do__ma__40F9A68C" msprop:Generator_UserParentTable="DMHangHoa" msprop:Generator_ParentPropName="DMHangHoaRow" />
      <msdata:Relationship name="FK_TiepNhanBenhNhanDichVu_TiepNhanBenhNhan" msdata:parent="TiepNhanBenhNhan" msdata:child="TiepNhanBenhNhanDichVu" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="TiepNhanBenhNhanDichVu" msprop:Generator_ChildPropName="GetTiepNhanBenhNhanDichVuRows" msprop:Generator_UserRelationName="FK_TiepNhanBenhNhanDichVu_TiepNhanBenhNhan" msprop:Generator_ParentPropName="TiepNhanBenhNhanRow" msprop:Generator_RelationVarName="relationFK_TiepNhanBenhNhanDichVu_TiepNhanBenhNhan" msprop:Generator_UserParentTable="TiepNhanBenhNhan" />
      <msdata:Relationship name="FK__PhieuKhamBen__ma__15702A09" msdata:parent="PhieuKhamBenh" msdata:child="PhieuKhamBenhChuyenKhoa" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="PhieuKhamBenhChuyenKhoa" msprop:Generator_ChildPropName="GetPhieuKhamBenhChuyenKhoaRows" msprop:Generator_UserRelationName="FK__PhieuKhamBen__ma__15702A09" msprop:Generator_ParentPropName="PhieuKhamBenhRow" msprop:Generator_RelationVarName="relationFK__PhieuKhamBen__ma__15702A09" msprop:Generator_UserParentTable="PhieuKhamBenh" />
      <msdata:Relationship name="FK_PhieuKhamBenhChuyenVien_PhieuKhamBenh" msdata:parent="PhieuKhamBenh" msdata:child="PhieuKhamBenhChuyenVien" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="PhieuKhamBenhChuyenVien" msprop:Generator_ChildPropName="GetPhieuKhamBenhChuyenVienRows" msprop:Generator_UserRelationName="FK_PhieuKhamBenhChuyenVien_PhieuKhamBenh" msprop:Generator_ParentPropName="PhieuKhamBenhRow" msprop:Generator_RelationVarName="relationFK_PhieuKhamBenhChuyenVien_PhieuKhamBenh" msprop:Generator_UserParentTable="PhieuKhamBenh" />
      <msdata:Relationship name="FK_PhieuKhamBenhNhapVien_PhieuKhamBenhNhapVien" msdata:parent="PhieuKhamBenh" msdata:child="PhieuKhamBenhNhapVien" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="PhieuKhamBenhNhapVien" msprop:Generator_ChildPropName="GetPhieuKhamBenhNhapVienRows" msprop:Generator_UserRelationName="FK_PhieuKhamBenhNhapVien_PhieuKhamBenhNhapVien" msprop:Generator_ParentPropName="PhieuKhamBenhRow" msprop:Generator_RelationVarName="relationFK_PhieuKhamBenhNhapVien_PhieuKhamBenhNhapVien" msprop:Generator_UserParentTable="PhieuKhamBenh" />
      <msdata:Relationship name="FK__TCThue__ma__46B27FE2" msdata:parent="TCTien" msdata:child="TCThue" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="TCThue" msprop:Generator_ChildPropName="GetTCThueRows" msprop:Generator_UserRelationName="FK__TCThue__ma__46B27FE2" msprop:Generator_RelationVarName="relationFK__TCThue__ma__46B27FE2" msprop:Generator_UserParentTable="TCTien" msprop:Generator_ParentPropName="TCTienRow" />
      <msdata:Relationship name="FK__TCTienChiTie__ma__47A6A41B" msdata:parent="TCTien" msdata:child="TCTienChiTiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="TCTienChiTiet" msprop:Generator_ChildPropName="GetTCTienChiTietRows" msprop:Generator_UserRelationName="FK__TCTienChiTie__ma__47A6A41B" msprop:Generator_ParentPropName="TCTienRow" msprop:Generator_RelationVarName="relationFK__TCTienChiTie__ma__47A6A41B" msprop:Generator_UserParentTable="TCTien" />
      <msdata:Relationship name="FK__BHBangGiaDMH__ma__3A4CA8FD" msdata:parent="BHBangGia" msdata:child="BHBangGiaDMHang" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHBangGiaDMHang" msprop:Generator_ChildPropName="GetBHBangGiaDMHangRows" msprop:Generator_UserRelationName="FK__BHBangGiaDMH__ma__3A4CA8FD" msprop:Generator_ParentPropName="BHBangGiaRow" msprop:Generator_RelationVarName="relationFK__BHBangGiaDMH__ma__3A4CA8FD" msprop:Generator_UserParentTable="BHBangGia" />
      <msdata:Relationship name="FK_DMManHinhChiTiet_DMManHinh" msdata:parent="DMManHinh" msdata:child="DMManHinhChiTiet" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="DMManHinhChiTiet" msprop:Generator_ChildPropName="GetDMManHinhChiTietRows" msprop:Generator_UserRelationName="FK_DMManHinhChiTiet_DMManHinh" msprop:Generator_ParentPropName="DMManHinhRow" msprop:Generator_RelationVarName="relationFK_DMManHinhChiTiet_DMManHinh" msprop:Generator_UserParentTable="DMManHinh" />
      <msdata:Relationship name="FK_DMManHinhChiTietGridColumn_DMManHinhChiTiet" msdata:parent="DMManHinhChiTiet" msdata:child="DMManHinhChiTietGridColumn" msdata:parentkey="uid" msdata:childkey="ma" msprop:Generator_UserChildTable="DMManHinhChiTietGridColumn" msprop:Generator_ChildPropName="GetDMManHinhChiTietGridColumnRows" msprop:Generator_UserRelationName="FK_DMManHinhChiTietGridColumn_DMManHinhChiTiet" msprop:Generator_ParentPropName="DMManHinhChiTietRow" msprop:Generator_RelationVarName="relationFK_DMManHinhChiTietGridColumn_DMManHinhChiTiet" msprop:Generator_UserParentTable="DMManHinhChiTiet" />
      <msdata:Relationship name="FK__BHBangGiaDoi__ma__3B40CD36" msdata:parent="BHBangGia" msdata:child="BHBangGiaDoiTuongApDung" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHBangGiaDoiTuongApDung" msprop:Generator_ChildPropName="GetBHBangGiaDoiTuongApDungRows" msprop:Generator_UserRelationName="FK__BHBangGiaDoi__ma__3B40CD36" msprop:Generator_RelationVarName="relationFK__BHBangGiaDoi__ma__3B40CD36" msprop:Generator_UserParentTable="BHBangGia" msprop:Generator_ParentPropName="BHBangGiaRow" />
      <msdata:Relationship name="FK__KHThue__ma__44CA3770" msdata:parent="KHHangHoa" msdata:child="KHThue" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="KHThue" msprop:Generator_ChildPropName="GetKHThueRows" msprop:Generator_UserRelationName="FK__KHThue__ma__44CA3770" msprop:Generator_ParentPropName="KHHangHoaRow" msprop:Generator_RelationVarName="relationFK__KHThue__ma__44CA3770" msprop:Generator_UserParentTable="KHHangHoa" />
      <msdata:Relationship name="FK_BHBanHangThue_BHBanHang" msdata:parent="BHBanHang" msdata:child="BHBanHangThue" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHBanHangThue" msprop:Generator_ChildPropName="GetBHBanHangThueRows" msprop:Generator_UserRelationName="FK_BHBanHangThue_BHBanHang" msprop:Generator_RelationVarName="relationFK_BHBanHangThue_BHBanHang" msprop:Generator_UserParentTable="BHBanHang" msprop:Generator_ParentPropName="BHBanHangRow" />
      <msdata:Relationship name="FK__BHChuongTrin__ma__3D2915A8" msdata:parent="BHChuongTrinhKhuyenMai" msdata:child="BHChuongTrinhKhuyenMaiDMHang" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHChuongTrinhKhuyenMaiDMHang" msprop:Generator_ChildPropName="GetBHChuongTrinhKhuyenMaiDMHangRows" msprop:Generator_UserRelationName="FK__BHChuongTrin__ma__3D2915A8" msprop:Generator_ParentPropName="BHChuongTrinhKhuyenMaiRow" msprop:Generator_RelationVarName="relationFK__BHChuongTrin__ma__3D2915A8" msprop:Generator_UserParentTable="BHChuongTrinhKhuyenMai" />
      <msdata:Relationship name="FK__BHChuongTrin__ma__3E1D39E1" msdata:parent="BHChuongTrinhKhuyenMai" msdata:child="BHChuongTrinhKhuyenMaiDoiTuongApDung" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHChuongTrinhKhuyenMaiDoiTuongApDung" msprop:Generator_ChildPropName="GetBHChuongTrinhKhuyenMaiDoiTuongApDungRows" msprop:Generator_UserRelationName="FK__BHChuongTrin__ma__3E1D39E1" msprop:Generator_ParentPropName="BHChuongTrinhKhuyenMaiRow" msprop:Generator_RelationVarName="relationFK__BHChuongTrin__ma__3E1D39E1" msprop:Generator_UserParentTable="BHChuongTrinhKhuyenMai" />
      <msdata:Relationship name="FK__BHHopDongMua__ma__3F115E1A" msdata:parent="BHHopDongMuaBan" msdata:child="BHHopDongMuaBanDMHang" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="BHHopDongMuaBanDMHang" msprop:Generator_ChildPropName="GetBHHopDongMuaBanDMHangRows" msprop:Generator_UserRelationName="FK__BHHopDongMua__ma__3F115E1A" msprop:Generator_ParentPropName="BHHopDongMuaBanRow" msprop:Generator_RelationVarName="relationFK__BHHopDongMua__ma__3F115E1A" msprop:Generator_UserParentTable="BHHopDongMuaBan" />
      <msdata:Relationship name="FK__DMHangHoa_Do__ma__5DB5E0CB" msdata:parent="DMHangHoa" msdata:child="DMHangHoa_DonViTinhLonHon" msdata:parentkey="ma" msdata:childkey="ma" msprop:Generator_UserChildTable="DMHangHoa_DonViTinhLonHon" msprop:Generator_ChildPropName="GetDMHangHoa_DonViTinhLonHonRows" msprop:Generator_UserRelationName="FK__DMHangHoa_Do__ma__5DB5E0CB" msprop:Generator_ParentPropName="DMHangHoaRow" msprop:Generator_RelationVarName="relationFK__DMHangHoa_Do__ma__5DB5E0CB" msprop:Generator_UserParentTable="DMHangHoa" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>